-
-
Notifications
You must be signed in to change notification settings - Fork 281
(Optional?) support for annotated tags #329
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
Comments
There's an open (abandoned) PR for annotated tags: #272 |
Honestly, I've never written any Python in anger before. I don't feel comfortable with starting with this! :-) |
No worries, thanks for sharing. I'll try to push this change in the coming weeks 💪🏻 |
Thanks guys! |
@woile and @SpokeyWheeler - #332 is merged, this issue can be closed. |
Awesome! Thank you so much! 🎉🎉 |
Description
Currently, lightweight tags are generated by
cz bump
. This means you have to remember to push the tag separately from the commit, and also means you can't use--follow-tags
.Possible Solution
I did this in my clone, but I genuinely don't know if it's anything more than a hack:
I changed this line from
c = cmd.run(f"git tag {tag}")
to
c = cmd.run(f"git tag -a -m '{tag}' {tag}")
DISCLAIMER: I wouldn't know Python if it ran me over in a bus. But it seemed to work!
Additional context
N/A
Related Issue
I didn't find anything related.
The text was updated successfully, but these errors were encountered: