-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make v prefix for tags optional #420
Conversation
v
prefix from tag checking
v
prefix from tag checking
Hi @abbydiode, thank you for raising a PR to improve things! Agreed that this is somewhat confusing. However we determined some time ago that it is convention for version tags on GitHub start with a |
@webbertakken thank you for your feedback. I thought the way the changes were made the |
I really appreciate the effort, but as mentioned it might be better to fix the documentation instead of the behaviour because it worked well (other than the confusion you mentioned) and the change would introduce a breaking change: anyone who upgrades to the new version will now have to remove all non Closing for that reason. |
I don't see how this is a breaking change, or where including v is a GitHub standard. Making 'v' optional should not break any existing workflows, and would allow for new workflows to follow the semantic versioning standard more closely. |
I believe that if a users assigns for example Additionally I would like to add that the FAQ for semantic versioning specifically mentions that anything including
|
I understand where you're coming from. We've had this same discussion a few times before on our Discord. Semantic version vs version tags Why is it a breaking change? |
Just looking through history and it looks like we already voted in favour of making the What you're looking for already works as expected. |
Sorry, I'm not sure if I understand why users would have to count 'other commits' for versioning and why users would have to remove existing tags. All this change would introduce is the To me the fact that only tags with the
Even if this would be considered a breaking change, wouldn't it be possible to create a 'new' versioning strategy that's essentially the same as the regular semantic versioning strategy but with the |
Sorry that was a typo, I meant to include more tags in versioning. with About the rest of your arguments, see my last post. This already works exactly how you describe you expect it to work. |
As discussed on Discord it seems there was a misunderstanding between what I believed the issue was and what @webbertakken believed the issue was. The |
Description
There is no mention of requiring a prefix to the tags in the documentation. This is unexpected behavior, and as a result of this requirement tags such as
0.1.0
do not work with the semantic versioning strategy. Additionally, the semantic versioning documentation referenced has not used the prefix for a couple of years.Changes
v
prefixing tags.