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

prerelease tags are included when calculating next version bump #601

Open
cakeinpanic opened this issue Oct 3, 2022 · 0 comments
Open

Comments

@cakeinpanic
Copy link
Contributor

This method returns newt bump from latest tag with prefix, ignoring if it was a prerelease or not

const recommended = (await promisify(conventionalRecommendedBump)({

If we call semver on this git history

docs: docs 
feat: new feature <-- package@0.0.1-beta.0
fix: bugfix <-- package@1.2.3

then next calculated version would be patch – package@1.2.4 because package conventional-recommended-bump finds latest tag with specified prefix and in this case only commit docs: docs would be calculated resuling in patch bump

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

No branches or pull requests

1 participant