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

Add flags to control which component should be bumped for prereleases. #29

Closed
yobeonline opened this issue Dec 26, 2023 · 2 comments · Fixed by #36
Closed

Add flags to control which component should be bumped for prereleases. #29

yobeonline opened this issue Dec 26, 2023 · 2 comments · Fixed by #36

Comments

@yobeonline
Copy link
Contributor

I don't know if it makes sense to anyone else or if it is against best practices, but I wish I could customize which version component (major, minor, patch) should be bumped.

Examples

  • git-semver would give 3.5.2-dev.22+8eaec5d3
  • git-semver -minor would give 3.6.0-dev.22+8eaec5d3
  • git-semver -major would give 4.0.0-dev.22+8eaec5d3
@yobeonline
Copy link
Contributor Author

I would be happy to make a PR if accepted.

@yobeonline
Copy link
Contributor Author

In the PR, i settled for the following syntax:

git-semver -target-release minor
git-semver -target-release major

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant