Skip to content

Fix release scripts for release candidates#55

Merged
AmethystLiang merged 2 commits intomainfrom
addRcRelease
Mar 7, 2026
Merged

Fix release scripts for release candidates#55
AmethystLiang merged 2 commits intomainfrom
addRcRelease

Conversation

@AmethystLiang
Copy link
Contributor

Problem

The release script `scripts/release.sh` did not correctly increment release candidate versions, sometimes skipping the target version. Additionally, there was no dedicated GitHub Actions workflow to handle releasing RC versions with proper prerelease flags and npm tags.

Solution

Updated `scripts/release.sh` to correctly determine and increment base and RC versions for patch, minor, and major bumps, and created a new `.github/workflows/publish-rc.yml` workflow to handle publishing release candidates to GitHub as prereleases and to npm with the `rc` tag.

@AmethystLiang AmethystLiang merged commit 2ca2208 into main Mar 7, 2026
1 check passed
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