Skip to content

fix: normalize release draft version from RC builds#5

Merged
karanbalani merged 1 commit into
mainfrom
fix/release-draft-version
Apr 12, 2026
Merged

fix: normalize release draft version from RC builds#5
karanbalani merged 1 commit into
mainfrom
fix/release-draft-version

Conversation

@karanbalani
Copy link
Copy Markdown
Contributor

Summary

  • normalize the fallback draft version to the stable base when Cargo.toml is on an RC version
  • keep next-draft-version.sh aligned with the release-drafter workflow's stable-draft expectations
  • prevent Update Release Draft from trying to replace a published RC release with a draft

Verification

  • bash -n scripts/next-draft-version.sh
  • CALVER_LATEST_STABLE_TAG='' ./scripts/next-draft-version.sh -> 2026.4.1
  • CALVER_LATEST_STABLE_TAG='v2026.4.1' ./scripts/next-draft-version.sh -> 2026.4.2

@github-actions github-actions Bot added the bug Something isn't working label Apr 12, 2026
@karanbalani karanbalani merged commit ebef2c0 into main Apr 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant