You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Activity
woile commentedon Jan 11, 2021
There's an open (abandoned) PR for annotated tags: #272
Feel free to add corrections and re-submit it. I'll try to pick it up but I'm quite busy atm
SpokeyWheeler commentedon Jan 12, 2021
Honestly, I've never written any Python in anger before. I don't feel comfortable with starting with this! :-)
woile commentedon Jan 12, 2021
No worries, thanks for sharing. I'll try to push this change in the coming weeks 💪🏻
cliles commentedon Jan 15, 2021
@woile - To help speed this up (to maybe days instead of weeks), I went ahead and looked at #272 and "adopted" it for #332.
SpokeyWheeler commentedon Jan 16, 2021
Thanks guys!
cliles commentedon Jan 24, 2021
@woile and @SpokeyWheeler - #332 is merged, this issue can be closed.
SpokeyWheeler commentedon Jan 25, 2021
Awesome! Thank you so much! 🎉🎉