Skip to content

Commit

Permalink
feat: added git tag info to binary version info output (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonsteinhaeuser authored Jan 3, 2024
1 parent dbca63c commit 50fe021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bootstrap/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func init() {
}
}
// add version info
rootCmd.Version = fmt.Sprintf("%s - %v [ %s/%s ] [ %v ]", revision, buildTime, arch, goos, dirtyBuild)
rootCmd.Version = fmt.Sprintf("%s %s - %v [ %s/%s ] [ %v ]", buildInfo.Main.Version, revision, buildTime, arch, goos, dirtyBuild)
}

func main() {
Expand Down

0 comments on commit 50fe021

Please sign in to comment.