Fix scripts/release.go

This commit is contained in:
Alexander Neumann 2017-11-26 19:59:21 +01:00
parent c02923fbfc
commit e1fd47765b

View file

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