You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2014/01/24 01:20:27 UTC

git commit: Allow tag.sh to ignore local tag if it already exists.

Updated Branches:
  refs/heads/master 13296e4ec -> 1c7ab021f


Allow tag.sh to ignore local tag if it already exists.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1c7ab021
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1c7ab021
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1c7ab021

Branch: refs/heads/master
Commit: 1c7ab021f4b40bb3cf13cfbddc26338eaab02989
Parents: 13296e4
Author: Vinod Kone <vi...@twitter.com>
Authored: Thu Jan 23 16:20:13 2014 -0800
Committer: Vinod Kone <vi...@twitter.com>
Committed: Thu Jan 23 16:20:13 2014 -0800

----------------------------------------------------------------------
 support/tag.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1c7ab021/support/tag.sh
----------------------------------------------------------------------
diff --git a/support/tag.sh b/support/tag.sh
index 58a75cd..3977f4f 100755
--- a/support/tag.sh
+++ b/support/tag.sh
@@ -73,7 +73,7 @@ popd # build
 
 echo "${GREEN}Creating ${TAG} tag at HEAD...${NORMAL}"
 
-git tag ${TAG}
+git tag ${TAG} || echo "Tag ${TAG} already exists"
 
 echo "${GREEN}Pushing the git tag to the repository...${NORMAL}"