Skip to content

release: run the version sync script in the changesets action#19

Merged
BCook98 merged 1 commit into
mainfrom
fix-version-sync
Jun 6, 2026
Merged

release: run the version sync script in the changesets action#19
BCook98 merged 1 commit into
mainfrom
fix-version-sync

Conversation

@BCook98

@BCook98 BCook98 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

The Version Packages PR (#18) bumped package.json to 2.2.0 but left rust/Cargo.toml at 2.1.1 — the new rust CI job's lockstep guard correctly fails it. Root cause: changesets/action was given version: npx changeset version, which skips the package.json version script where scripts/sync-crate-version.mjs is chained.

Point the action at npm run version instead. Once this merges, the Release workflow re-runs on main and refreshes #18 to include the crate bump; the lockstep check then goes green.

🤖 Generated with Claude Code

changesets/action was invoking 'npx changeset version' directly, skipping
the package.json version script that syncs rust/Cargo.toml to the kit
version — so the Version Packages PR bumped package.json without the
crate, and the rust CI job's lockstep guard (correctly) fails it. Point
the action at 'npm run version' so the Version Packages PR carries both.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@BCook98
BCook98 merged commit 1df88a9 into main Jun 6, 2026
4 checks passed
@BCook98
BCook98 deleted the fix-version-sync branch June 6, 2026 06:45
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