Skip to content

Synchronize Cargo version during releases#450

Merged
lukewilliamboswell merged 3 commits into
mainfrom
fix/release-version-check
Jul 22, 2026
Merged

Synchronize Cargo version during releases#450
lukewilliamboswell merged 3 commits into
mainfrom
fix/release-version-check

Conversation

@lukewilliamboswell

@lukewilliamboswell lukewilliamboswell commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • validate the dispatched release version once, then synchronize Cargo.toml and Cargo.lock before every host build
  • verify the synchronized version through cargo metadata, including prerelease versions and a clear mismatch diagnostic
  • create a release-source commit with the Cargo version update and target the Git tag at that exact commit
  • base the existing example follow-up update on the tagged commit so one follow-up PR contains both Cargo and example changes
  • replace the 0.0.1 placeholder with the current 0.21.0-rc4 platform version

Testing

  • python3 -m unittest scripts/test_check_release_version.py
  • python3 scripts/check_release_version.py 0.21.0-rc4 --update
  • mismatch diagnostic exercised with 0.21.0
  • cargo check --locked
  • ./scripts/test.py --operation validate

Closes #447

@lukewilliamboswell lukewilliamboswell changed the title Validate Cargo version before releases Synchronize Cargo version during releases Jul 22, 2026
@lukewilliamboswell
lukewilliamboswell marked this pull request as ready for review July 22, 2026 03:26
@lukewilliamboswell
lukewilliamboswell merged commit c51e590 into main Jul 22, 2026
27 checks passed
@lukewilliamboswell
lukewilliamboswell deleted the fix/release-version-check branch July 22, 2026 03:26
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.

Verify Cargo package version matches the release tag in CI

1 participant