Skip to content

fix: keep xtask out of the release-plz publish set - #13

Merged
P4suta merged 1 commit into
mainfrom
fix/xtask-publish
Aug 4, 2026
Merged

fix: keep xtask out of the release-plz publish set#13
P4suta merged 1 commit into
mainfrom
fix/xtask-publish

Conversation

@P4suta

@P4suta P4suta commented Aug 4, 2026

Copy link
Copy Markdown
Owner

release-plz release refused to run on the last attempt:

ERROR Package `xtask` has `publish = false` or `publish = []` in the Cargo.toml,
      but it has `publish = true` in the release-plz configuration.

release = false on the xtask package entry stops release-plz from releasing it, but the workspace-level publish = true still reaches it, and release-plz treats that disagreement with the manifest as a configuration error rather than ignoring it. This restates publish = false on the package entry.

Neither sibling hits this: restart-manager's whole workspace is publish = false, and conpty-oxide has no second workspace member. This is the first repository that both publishes through release-plz and carries an xtask.

Verification

Installed release-plz 0.3.160 locally and ran release-plz release --dry-run. The configuration now parses and validates — the only remaining error is the expected git release not configured from having no token outside CI. Before this change it failed on the xtask conflict.

That also gives a way to catch this class of error before pushing, which the previous three attempts on this workflow did not have.

🤖 Generated with Claude Code

release-plz refused to run:

    ERROR Package `xtask` has `publish = false` or `publish = []` in the
    Cargo.toml, but it has `publish = true` in the release-plz configuration.

`release = false` on the xtask package entry stops release-plz from releasing
it, but the workspace-level `publish = true` still reaches it, and release-plz
treats that disagreement with the manifest as a configuration error rather than
ignoring it. Restate `publish = false` on the package entry.

restart-manager does not hit this because its whole workspace is
`publish = false`; conpty-oxide has no second workspace member at all. This is
the first repository here that both publishes through release-plz and carries
an xtask.

Verified with `release-plz release --dry-run` locally: the configuration now
parses and validates, leaving only the expected "git release not configured"
error from having no token outside CI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@P4suta
P4suta enabled auto-merge (squash) August 4, 2026 11:18
@P4suta
P4suta merged commit e1e5735 into main Aug 4, 2026
14 checks passed
@P4suta
P4suta deleted the fix/xtask-publish branch August 4, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant