mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-01-26 16:56:28 +01:00
add makeVersionTag.pl
This commit is contained in:
parent
812ebba1c5
commit
739e7b78f2
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user