Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

(Optional?) support for annotated tags #329

Closed
@SpokeyWheeler

Description

@SpokeyWheeler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions