mirror of
https://github.com/restic/restic.git
synced 2026-10-20 16:08:12 +00:00
Fix scripts/release.go
This commit is contained in:
1 parent
c02923fbfc
commit
e1fd47765b
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user