diff --git a/cmd/update-version/website.go b/cmd/update-version/website.go index e308c9fb..489dac55 100644 --- a/cmd/update-version/website.go +++ b/cmd/update-version/website.go @@ -17,7 +17,7 @@ func updateWebsite() bool { if !strings.HasPrefix(line, "latestVersion: ") { return line } - return fmt.Sprintf("latestVersion: %s", cliArgs.newVersion) + return fmt.Sprintf("latestVersion: %q", cliArgs.newVersion) } fileWasChanged, err := updateLines(websiteFile, replacer)