mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -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
@ -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)
|
||||
|
@ -14,3 +14,6 @@ MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEf8F1hpmwE+YCFXzjGtaQcrL6XZVT
|
||||
JmEe5iSLvG1SyQSAew7WdMKF6o9t8e2TFuCkzlOhhlws2OHWbiFZnFWCFw==
|
||||
-----END PUBLIC KEY-----
|
||||
`
|
||||
|
||||
// VersionBuild is the category of the current build.
|
||||
const VersionBuild = "Enterprise build; see documentation for license agreement"
|
@ -14,3 +14,6 @@ MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELcPl4Ik+qZuH4K049wksoXK/Os3Z
|
||||
b92PDCpM7FZAINQF88s1TZS/HmRXYk62UJ4eqPduvUnJmXhNikhLbMi6fw==
|
||||
-----END PUBLIC KEY-----
|
||||
`
|
||||
|
||||
// VersionBuild is the category of the current build.
|
||||
const VersionBuild = "Open-source software build; AGPL-3.0-only applies"
|
Loading…
Reference in New Issue
Block a user