mirror of
https://github.com/restic/restic.git
synced 2025-08-14 06:47:44 +00:00
Fix scripts/release.go
This commit is contained in:
@@ -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