mirror of
https://github.com/octoleo/restic.git
synced 2025-01-22 14:48:24 +00:00
Fix scripts/release.go
This commit is contained in:
parent
c02923fbfc
commit
e1fd47765b
@ -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…
x
Reference in New Issue
Block a user