Fix scripts/release.go

This commit is contained in:
Alexander Neumann 2017-11-26 19:59:21 +01:00
parent c02923fbfc
commit e1fd47765b
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func preCheckBranchMaster() {
die("error running 'git': %v", err)
}
if string(branch) != "master" {
if strings.TrimSpace(string(branch)) != "master" {
die("wrong branch: %s", branch)
}
}