-
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
Add support for prefixed version tags in scc #144
Conversation
With this commit, we sould now be able to tag the repository using semver's recommended vX.Y.Z-METADATA. `get_git_version` has been updated to recognize this new format so that both `scc version` and `python setup.py sdist` should work fine.
👍 Looks good from my side. @rleigh-dundee? |
Why not call |
@rleigh: the idea was to follow semver.org as much as possible and to valid the entire tag version like we do for our other repos at the moment. |
@sbesson what I mean is, |
Gotcha. Yes will push another commit. Thanks. |
Note that this would imply redoing the tags and creating |
You only need one tag creating, just the latest one so that stuff will work until we tag the next release. Unless it's safe to do it for the whole history; but that doesn't need doing right now I think. |
All looks good here. Unit tests pass and annotated tags get picket up as expected. Looks good to merge. |
🚢 ? |
Merging for 0.5.0. |
Add support for prefixed version tags in scc
With this commit, we sould now be able to tag the repository using
semver's recommended vX.Y.Z-METADATA.
get_git_version
has been updated torecognize this new format so that both
scc version
andpython setup.py sdist
should work fine.To test this PR:
v0.5.0-rc1
and checkpython scc/main.py version
andpython setup.py sdist
use the correct version/cc @rleigh