From 739e7b78f267961594fd45bed10941596e303966 Mon Sep 17 00:00:00 2001 From: tateisu Date: Sun, 1 Sep 2019 00:18:00 +0900 Subject: [PATCH] add makeVersionTag.pl --- makeVersionTag.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makeVersionTag.pl b/makeVersionTag.pl index f80a8951..0fb0f1a9 100644 --- a/makeVersionTag.pl +++ b/makeVersionTag.pl @@ -52,7 +52,9 @@ my($tag)="v$1"; print "# version=$tag\n"; # すでにタグがあるなら何もしない -if( not `git tag -l $tag` =~ /$tag/ ){ +if( `git tag -l $tag` =~ /$tag/ ){ + print "# tag $tag is already exists.\n"; +}else{ cmd "git tag -a $tag -m $tag"; }