Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add cz version --tag #1765

Open
Open
@woile

Description

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

    Type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /