Skip to content

fix(ci): use generic updater for Cargo.toml extra-files#31

Merged
GregTheGreek merged 1 commit into
mainfrom
fix/release-please-extra-files
Jul 6, 2026
Merged

fix(ci): use generic updater for Cargo.toml extra-files#31
GregTheGreek merged 1 commit into
mainfrom
fix/release-please-extra-files

Conversation

@GregTheGreek

Copy link
Copy Markdown
Owner

Summary

The first release-please run failed: value at path package.version is not tagged. release-please auto-selected its CargoToml updater for the two Cargo.toml extra-files (chosen by filename), which tries to edit package.version - but those member crates use version.workspace = true, not a literal. Pin those two entries to type: generic so release-please only rewrites the x-release-please-version-annotated rompatch-core pin lines.

Test plan

  • Merge; release-please workflow succeeds on the resulting main push
  • release-please opens a release PR
  • That PR bumps workspace Cargo.toml, Cargo.lock, both rompatch-core pins, and ui/package.json to the same version

release-please picked its CargoToml updater for the two Cargo.toml
extra-files (by filename) and crashed with "value at path
package.version is not tagged" - those member crates use
version.workspace = true, which isn't a literal it can edit. Pin them
to the generic updater so it only touches the x-release-please-version
annotated dependency-pin lines.

Co-Authored-By: Claude
@GregTheGreek
GregTheGreek marked this pull request as ready for review July 6, 2026 13:14
@GregTheGreek
GregTheGreek merged commit 29b79dc into main Jul 6, 2026
7 checks passed
@GregTheGreek
GregTheGreek deleted the fix/release-please-extra-files branch July 6, 2026 13:14
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