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 support for forcing a major/minor/patch bump #137

Open
gstelmack opened this issue Nov 16, 2022 · 0 comments
Open

Add support for forcing a major/minor/patch bump #137

gstelmack opened this issue Nov 16, 2022 · 0 comments

Comments

@gstelmack
Copy link

gotagger requires commits since the last tag to determine the new version. However, there are times when a new version is required without an actual commit, for example when the repo needs a rebuild to pick up fixes in dependencies but without any changes to the repo itself. Right now this is handled with dummy commits that update a README or some other trivial change, but we'd like to be able to get the rebuild done without an actual change. This can be worked around with a manual tag, but it is cumbersome.

This would be easier if there was a way to force gotagger to do a version bump regardless of the commit history. The immediate requirement is for a patch bump, typically minor or major only change when there is a real change to the repo, but it might be worth having those capabilities as well "just in case".

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