mirror of https://github.com/perkeep/perkeep.git
dev/make-release: change in-correct-directory heuristic
Change-Id: If0ee4fb0aea262e1f283e16e85a489d4f806f51b
This commit is contained in:
parent
6489b9f7ce
commit
7963001a9c
|
@ -7,7 +7,7 @@ GetOptions("force" => \$opt_force) or die "Usage: make-release [-f] <version>";
|
|||
|
||||
my $version = shift or die "Usage: make-release <version>";
|
||||
|
||||
die "Not being run from root of Camlistore" unless -e ".git" && -d "pkg/blobref";
|
||||
die "Not being run from root of Camlistore" unless -e ".git" && -e "pkg/blob/ref.go";
|
||||
|
||||
my $cur_branch = `git rev-parse --abbrev-ref HEAD`;
|
||||
chomp $cur_branch;
|
||||
|
|
Loading…
Reference in New Issue