-
Notifications
You must be signed in to change notification settings - Fork 87
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
Adding support for the identifier base on a pre-release bump #937
Closed
Conversation
This file contains 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
4d32acf
to
6025c6d
Compare
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.
Pre-release identifier in semver allows to control the identifier base when bumping a pre-release package.
With beachball, the identifier base is always set to zero; the goal of this PR is to support zero-based, one-based and no identifier base.
The options for the identifier base are "0", "1" and false.
Here is how it works with semver:
![image](https://private-user-images.githubusercontent.com/36003332/297146254-dfeb79d6-8231-48c5-9431-99737a02ebac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDExMjgsIm5iZiI6MTczOTYwMDgyOCwicGF0aCI6Ii8zNjAwMzMzMi8yOTcxNDYyNTQtZGZlYjc5ZDYtODIzMS00OGM1LTk0MzEtOTk3MzdhMDJlYmFjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA2MjcwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1NjdlMTA0ZjFjODBiMWRkYzI2OWFkZWUxYzJiNDYyZDgyMjVjOGMxNjc0YmVhMjQ3YmQ2OWJiODNlNzYxNjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cHyj3jE3N-cTUC0g_iOPTvu8UiPdVRDjpK9ltNT4I8E)