-
Notifications
You must be signed in to change notification settings - Fork 15
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
Allow any prefix to semver tag #3
Conversation
Thanks @tajobe for your contribution! Allowing any tag seems to be conflicting with the Parse Tag to match Semantic Versioning feature. Never the less, allowing non Regarding your use-case, we might disable semver check altogether and match any tag. It should probably be done via another env.var Anyway, as this action gains popularity, I decided to spend some time refactoring the code first. I will keep this PR open and update here whenever proposed change is released or requires assistance. P.S: contributing guidelines will be added in the coming days too |
Hi @anton-yurchenko . I'm a bit confused as a prefix to a semver tag is not prescribed in semver 2.0 at all. In fact, from the FAQ,
This change does not allow any tag, rather any prefix and still expects to parse a semantic version, which preserves the Parse Tag to match Semantic Versioning feature. I can see how it would be preferable to make any prefix configurable, but I still desire to have the version parsed, not thrown out/disabled. Happy to help with that if I can. I can see a desire to not actively work on code being refactored though I should also mention there is a bug with the Edit: Thanks for getting back to me about the PR, always appreciate when a maintainer takes the time to explain a position even if I don't necessarily agree. |
Also, as an example of this being common, |
oh right @tajobe! Sorry for confusing you, I got it wrong in the first place. P.S: draft bug will be fixed as a part of this release. Refactor is underway anyway as it addresses other possible issues, testing, ... |
We have a use case for allowing prefixes other than
v
on an otherwise semver tag. This allows any (or no) prefix tag to work, as long as it ends in a semantic version.I don't see any contributing guidelines so I didn't want to make an assumption about updating the version, but let me know if I should add a
[1.1.0]
as opposed to[Unreleased]
(and update the docker label).