mirror of
https://github.com/restic/restic.git
synced 2026-06-26 18:44:17 +00:00
fix version set by helper after release (#21865)
This commit is contained in:
committed by
Michael Eischer
parent
12875cc48e
commit
ed39b60e7d
@@ -333,7 +333,7 @@ func updateVersionDev() {
|
||||
die("unable to write version to file: %v", err)
|
||||
}
|
||||
|
||||
newVersion := fmt.Sprintf(`var version = "%s-dev (compiled manually)"`, opts.Version)
|
||||
newVersion := fmt.Sprintf(`const Version = "%s-dev (compiled manually)"`, opts.Version)
|
||||
replace(versionCodeFile, versionPattern, newVersion)
|
||||
|
||||
msg("committing cmd/restic/global.go with dev version")
|
||||
|
||||
Reference in New Issue
Block a user