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:
parent
09c6b4e3fa
commit
f81f5587f2
@ -41,12 +41,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lot the result & some easy-to-copy Git commands:
|
log.Info().Msg("file replacement done")
|
||||||
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)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func parseCliArgs() {
|
func parseCliArgs() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user