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

Tag already exists error using thor version:bump patch #39

Closed
jreslock opened this issue Mar 12, 2015 · 4 comments
Closed

Tag already exists error using thor version:bump patch #39

jreslock opened this issue Mar 12, 2015 · 4 comments

Comments

@jreslock
Copy link

I am running thor-scmversion 1.7.0 to version my chef cookbooks and I'm having an issue where the task that bumps the version complains that the tag already exists.

+ thor version:bump minor Creating and pushing tags Tagging 0.1.0 failed due to error Tried to tag 0.1.0, but it already exists! Either build from the latest tag at this bump level or choose a lower order bump level.

It doesn't seem to matter what bump level I try, I receive the same error every time. The only tag I have in the git repo is 0.0.1.

@jreslock
Copy link
Author

This was because I didn't have global git username and email configured. It would be helpful if thor-scmversion returned the actual scm error rather than this misleading 'tag already exists' error for all scm errors.

@jolexa
Copy link

jolexa commented Oct 14, 2015

Hello, I just spent several hours on this issue after rebuilding a jenkins instance. It would be so helpful if thor-scmversion posted the actual error.

@capoferro
Copy link
Contributor

This tool is not under active development, however if you submit a pull request, I'd be happy to consider it.

@dbaggott
Copy link

@capoferro still happy to consider pull requests for this? I'm not sure I actually have the bandwidth but wanted to make sure it would be welcomed before spending the time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants