update makeVersionTag.pl

This commit is contained in:
tateisu 2020-06-25 14:27:35 +09:00
parent 453eafec70
commit e36a605bfa
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ while(<$fh>){
}elsif( /^##\s*(\S+?)(?:\.\.|$)/ ){
my $branch=$1;
print "# branch=$branch\n";
$branch eq 'master'
or die "current branch is not master.\n";
$branch eq 'trunk'
or die "current branch is not trunk.\n";
}else{
warn "working tree is not clean.\n";
cmd "git status";