commit | 8fbe2bc7d44da00b3561ca5d8b8afa27d120b77d | [log] [tgz] |
---|---|---|
author | Alexander Evseev <aevseev@mirantis.com> | Fri May 18 14:29:28 2018 +0200 |
committer | Alexander Evseev <aevseev@mirantis.com> | Fri May 18 14:29:28 2018 +0200 |
tree | 3190c98691a9fd816e6a60743130f776cee5f23b | |
parent | ce1d09ae7eb3c7d96d77b7efb481bea30d80962d [diff] [blame] |
Fix pushing updated tag in tag-git-repos.groovy Change-Id: I3a704242c2d511fc3a13f1bc46df2e20af874d20 See: https://mirantis.jira.com/browse/PROD-19780
diff --git a/tag-git-repos.groovy b/tag-git-repos.groovy index ad74505..52344d1 100644 --- a/tag-git-repos.groovy +++ b/tag-git-repos.groovy
@@ -17,7 +17,7 @@ dir(repoName) { sh "git tag -f -a ${tag} ${ref} -m \"Release of mcp version ${tag}\"" sshagent([credentials]) { - sh "git push origin ${tag}" + sh "git push -f origin ${tag}:refs/tags/${tag}" } } }