fix(release): remove --tag alpha flag from release:alpha script - #80
Merged
Conversation
The release:alpha script passed --tag alpha to changeset publish, but this conflicts with changesets prerelease mode (pre.json has tag alpha already set). This was previously fixed in PR #53 but regressed in commit 816a882. In prerelease mode, changeset publish uses the tag defined in pre.json automatically. Passing --tag explicitly causes: error: Releasing under custom tag is not allowed in pre mode
Remove instruction that release:alpha must pass --tag alpha to changeset publish. While in prerelease mode, the tag is controlled by .changeset/pre.json and changeset rejects explicit --tag.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
release:alphascript passed--tag alphatochangeset publish, but this conflicts with changesets prerelease mode. The.changeset/pre.jsonalready has"tag": "alpha"set, so in prerelease mode changeset uses that tag automatically.This was previously fixed in PR #53 but regressed in commit 816a882.
Passing
--tagexplicitly in prerelease mode causes changeset to error with:This is a tooling-only fix.