Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release candidate logic #729

Merged
merged 2 commits into from
Mar 5, 2025
Merged

Fix release candidate logic #729

merged 2 commits into from
Mar 5, 2025

Conversation

cbala-stripe
Copy link
Contributor

@cbala-stripe cbala-stripe commented Mar 5, 2025

Summary & motivation

This fixes three issues:

  1. The --no-git-tag-version doesn't create commits in addition to tags, so we switch back to using the flag for all new versions and filter on rc being in the commit name
  2. The --tag flag should be on yarn publish, not on yarn version
  3. Because of (1), this change also increments the version to sync with the npm version

Because of (2), the latest tag was incorrectly pointing to 5.9.2-rc.0 for about 5 minutes until I manually fixed the tag. Because this was a no-op change, there should be no real issues. However, anyone upgrading to latest at that time might be surprised with the release candidate version.

Testing & documentation

Once merged, I will run another release candidate publish to verify the state of the system.

@cbala-stripe cbala-stripe merged commit 2afc44f into master Mar 5, 2025
2 checks 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.

None yet

2 participants