Fix scripts/release.go
This commit is contained in:
parent
c02923fbfc
commit
e1fd47765b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue