updating bumper to recompile itself

This commit is contained in:
David Vennik
2022-10-21 16:53:38 +02:00
parent 68606c0948
commit d8f5664e7d
2 changed files with 9 additions and 4 deletions

View File

@@ -220,6 +220,11 @@ func Version() string {
if e = runCmd("git", "push", "origin", SemVer); check(e) {
os.Exit(1)
}
// Lastly, we need to regenerate the version of bumper if it changed.
// Rather than check, we will just run the compilation command anyway.
if e = runCmd("go", "install", "./cmd/bumper/."); check(e) {
os.Exit(1)
}
return
}