Skip to content

Add cz version --tag #1765

@woile

Description

@woile

Description

Retrieve the tag of the version with the template tag applied. If your tags looks like this: v0.1.0. You have to manually add v to your version right now.
This would be useful to interact with git. If you want to retrieve the tagged commit, you could do:

git show-ref $(cz version -p --tag)

This is useful for auditing. And, if you have an old CI (e.g: jenkins), it would give an easy way for teams to check if the tag exists already before trying to bump.

Possible Solution

No response

Additional context

No response

Related issues

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions