- Make sure
mainis green and all changes intended for the release are merged. - In GitHub, open
Actions→Releaseand trigger Run workflow. - Choose the semver bump (
patch,minor,major) or set an explicit version override. - The
preparejob will:- Bump the version in
Cargo.tomlusingcargo set-version - Run
cargo test --locked - Commit
Release vX.Y.Zand create/push tagvX.Y.Z
- Bump the version in
- GitHub automatically starts a second run (triggered by the tag push) that builds release artifacts for all targets and publishes a GitHub release with notes and archives.
- Verify the release page to confirm the expected assets are attached.
If anything fails during preparation, fix the issue on main and re-run the workflow; the version bump is fully automated and will only land when the run succeeds.***