Version updater: don't log git commands

Don't log the git commands in the version updater Go code. They are already
shown by the Makefile (`update-version` target), and we should only have
one set of those commands to maintain.
This commit is contained in:
Sybren A. Stüvel 2022-08-03 12:42:45 +02:00
parent 09c6b4e3fa
commit f81f5587f2

View File

@ -41,12 +41,7 @@ func main() {
return
}
// Lot the result & some easy-to-copy Git commands:
commitMsg := fmt.Sprintf("Bumped version to %s", cliArgs.newVersion)
tagMsg := fmt.Sprintf("Tagged version %s", cliArgs.newVersion)
log.Info().Msg("file replacement done, commit with:")
log.Info().Msgf("git commit -m %q %s %s", commitMsg, makefileFile, addonVersionFile)
log.Info().Msgf("git tag -a -m %q v%s", tagMsg, cliArgs.newVersion)
log.Info().Msg("file replacement done")
}
func parseCliArgs() {