mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-10 21:49:48 -05:00
cli: use Semver type to represent microservice versions (#2125)
Previously we used strings to pass microservice versions. This invited bugs due to missing input validation.
This commit is contained in:
parent
2d3999440d
commit
1d5a8283e0
35 changed files with 612 additions and 318 deletions
|
|
@ -35,7 +35,7 @@ func runVersion(cmd *cobra.Command, _ []string) {
|
|||
commit, state, date, goVersion, compiler, platform = parseStamp()
|
||||
}
|
||||
|
||||
cmd.Printf("Version:\t%s (%s)\n", constants.VersionInfo(), constants.VersionBuild)
|
||||
cmd.Printf("Version:\t%s (%s)\n", constants.BinaryVersion().String(), 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