Allowing to specify different branch in first parameter

This commit is contained in:
David Vennik
2022-12-21 14:19:27 +00:00
parent 87c9a780cb
commit 156103b155
2 changed files with 5 additions and 4 deletions

View File

@@ -248,6 +248,7 @@ func Version() string {
if e = runCmd("git", "tag", SemVer); check(e) {
os.Exit(1)
}
log.I.Ln(branch)
if e = runCmd("git", "push", "origin", branch); check(e) {
os.Exit(1)
}