mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
cli: add name of build type to version cmd output (#1179)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
34142cbf05
commit
84a787b538
3 changed files with 7 additions and 1 deletions
|
@ -34,7 +34,7 @@ func runVersion(cmd *cobra.Command, args []string) {
|
|||
|
||||
commit, state, date, goVersion, compiler, platform := parseBuildInfo(buildInfo)
|
||||
|
||||
cmd.Printf("Version:\t%s\n", constants.VersionInfo)
|
||||
cmd.Printf("Version:\t%s (%s)\n", constants.VersionInfo, constants.VersionBuild)
|
||||
cmd.Printf("GitCommit:\t%s\n", commit)
|
||||
cmd.Printf("GitTreeState:\t%s\n", state)
|
||||
cmd.Printf("BuildDate:\t%s\n", date)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue