mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-23 07:38:04 +01:00
update makeVersionTag.pl
This commit is contained in:
parent
453eafec70
commit
e36a605bfa
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user