diff --git a/cmd/bumper/main.go b/cmd/bumper/main.go index 0c0fcc40..86d466d9 100644 --- a/cmd/bumper/main.go +++ b/cmd/bumper/main.go @@ -142,13 +142,12 @@ func main() { splitted := strings.Split(out, "\n") var isBranch bool for i := range splitted { + branch = splitted[i][2:] if len(splitted[i]) < 2 { continue } if splitted[i][2:] == branch { - log.I.S(splitted[i][2:]) isBranch = true - branch = splitted[i][2:] break } } diff --git a/version.go b/version.go index c1dbf8cd..a0d597b6 100644 --- a/version.go +++ b/version.go @@ -13,11 +13,11 @@ var ( // GitRef is the gitref, as in refs/heads/branchname. GitRef = "refs/heads/main" // ParentGitCommit is the commit hash of the parent HEAD. - ParentGitCommit = "dc145aa1d24085eaf3b5c5f93096822fbda1be75" + ParentGitCommit = "b29ffa56a95814efd5a83228b345b8144471ec9b" // BuildTime stores the time when the current binary was built. - BuildTime = "2022-12-21T14:34:17Z" + BuildTime = "2022-12-21T14:35:57Z" // SemVer lists the (latest) git tag on the build. - SemVer = "v0.0.206" + SemVer = "v0.0.207" // PathBase is the path base returned from runtime caller. PathBase = "/home/loki/src/github.com/Indra-Labs/indra/" // Major is the major number from the tag. @@ -25,7 +25,7 @@ var ( // Minor is the minor number from the tag. Minor = 0 // Patch is the patch version number from the tag. - Patch = 206 + Patch = 207 ) // Version returns a pretty printed version information string.