(Optional?) support for annotated tags
See original GitHub issueDescription
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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Git - Tagging - Git SCM
Just type git tag (with optional -l or --list ):. $ git tag v1.0 v2.0 ... Git supports two types of tags: lightweight...
Read more >Support for Annotated Tags · Issue #207 - GitHub
Request support of annotated tags are a heavily-used git feature and part of core: Create tag only allows one-line input for tag name;...
Read more >What is the difference between an annotated and unannotated ...
Annotated tags are meant for release while lightweight tags are meant for private or temporary object labels. And certain behaviors do differentiate between ......
Read more >Annotated and Lightweight Git Tags | HackerNoon
Annotated tags store extra metadata such as author name, release notes, tag-message, and date as full objects in the Git database. All this...
Read more >Create annotated tags in the Release CLI (#62) · Issues - GitLab
With this update, you can now add an optional tag-message parameter to create an annotated tag when creating a release.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Woile - To help speed this up (to maybe days instead of weeks), I went ahead and looked at #272 and “adopted” it for #332.
Awesome! Thank you so much! 🎉🎉