Reputation: 71
My setup: git-repository on an Azure DevOps.
When i create a git tag using Git Repo Tagger (Task on pipeline) like "12.0.0101" The tagger returns
##[error]Command failed: git tag -a "12.0.0101" -m "12.0.0101"
fatal: tag '12.0.0101' already exists
[error]Git Repo Tagger Failed.
But when i list all the tags with
git tag -l or git tag
That tag did not exists
I just tried to checkout that not existant tag, but as expected, the tag not exists.
If i try to generate manually that tag, (from the azure devops page) it works, but in the build pipeline, fails.
Also, i have many builds with the same task, and it works, only in this branch seems not working.
Upvotes: 1
Views: 3337
Reputation: 71
Its solved changed this configuration, seems like in any moment, the git tag only exists in the server.
Upvotes: 1