1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-02-12 17:35:35 +00:00

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)
}
if string(branch) != "master" {
if strings.TrimSpace(string(branch)) != "master" {
die("wrong branch: %s", branch)
}
}