-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
fix: make v character in version tags optional #423
Conversation
Codecov Report
@@ Coverage Diff @@
## main #423 +/- ##
==========================================
+ Coverage 52.36% 52.52% +0.16%
==========================================
Files 65 66 +1
Lines 2049 2056 +7
Branches 353 353
==========================================
+ Hits 1073 1080 +7
Misses 972 972
Partials 4 4
|
I have tested this and while it did correctly identify the existing tag, it did not auto-increment the patch version. |
You're right, the previously generated |
Nevermind! I've verified that versioning also works after generating a tag with patch number 0. I'm not sure why it worked for the |
Little update; I've worked out why it worked for My manually assigned This may be an issue when the system generates a tag with patch number 0 that is not on the same commit as the commit with the manually assigned tag, however I am not sure if that is possible in the first place. |
We're working on a best effort basis here. Edge cases that may never even happen can always be covered in next interactions. Based on your findings it looks like we should be good with this change. I will add tests when I have time to make sure this doesn't accidentally break. |
Added tests for the regex. The tests are actually running grep to make sure it works using Accepted values are partial tags and any completely valid semantic version tag, as well as all variants prepended with a Not accepting some weirder cases out of the incorrect semantic versions list, even if they are prepended with a |
Changes
v
to be recognised using the automatic versioning strategy (versioning: Semantic
)Checklist