fix version set by helper after release (#21865)

This commit is contained in:
Michael Eischer
2026-06-09 22:43:18 +02:00
committed by Michael Eischer
parent 12875cc48e
commit ed39b60e7d
+1 -1
View File
@@ -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")