Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using tag_format without {release} breaks tito tag --undo #400

Open
michalfabik opened this issue Mar 10, 2021 · 0 comments
Open

Using tag_format without {release} breaks tito tag --undo #400

michalfabik opened this issue Mar 10, 2021 · 0 comments
Labels
bug Something is clearly a bug effort/low Can be done in few hours gain/low Affect only one person, corner case, has easy workaround

Comments

@michalfabik
Copy link

How to reproduce:

$ echo "tag_format = {version}" >> .tito/tito.props
$ git tag 0.1.6 myproject-0.1.6-1        # provide tito with a latest tag in the new format
$ tito tag --use-version=0.1.7
Creating output directory: /tmp/tito
Tagging new version of myproject: 0.1.6-1 -> 0.1.7-1
Created tag: 0.1.7
   View: git show HEAD
   Undo: tito tag -u
   Push: git push --follow-tags origin
$ tito tag -u
Creating output directory: /tmp/tito
Undoing tag: 0.1.7-1
ERROR: Cannot undo tag that does not exist locally.
$  

Related: #277
Tested with tito 0.6.16

@FrostyX FrostyX added bug Something is clearly a bug effort/low Can be done in few hours gain/low Affect only one person, corner case, has easy workaround labels Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is clearly a bug effort/low Can be done in few hours gain/low Affect only one person, corner case, has easy workaround
Projects
None yet
Development

No branches or pull requests

2 participants