-
Notifications
You must be signed in to change notification settings - Fork 20
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
multiple lightweight tag on the same commit #40
Comments
Your fix doesn't seem to work for the "dev" target. I have an issue where I have two tags on the same commit
For some reason, git-semver thinks that Am I stupid to want this? I don't want to have to keep adding blank commits to get a new tag out |
You're right. Need to handle dev number. |
wait.. |
Sorry was AFK, missed your message. We have since reverted to using the autogenerated -dev numbers to avoid this. But how we did it was just manually, re-tagging a commit to keep releases uniform even if a certain project hasn't changed. I think the problem would still exist if I was to do anything else in that extra section, perhaps |
I updated the patch to compare "meta" field. |
That works for me; allows a predictable series of |
When multiple lightweight tags are applied to the same commit, it chooses the first one. Usually, we prefer to return the "latest" tag (largest version number)
To reproduce:
it returns 1.1.0, but 1.2.0 is preferred
The text was updated successfully, but these errors were encountered: