Fix version
This commit is contained in:
parent
2311ed8a25
commit
0c622bceab
|
@ -8,14 +8,11 @@ var (
|
|||
// Version release version
|
||||
Version = "0.1.1"
|
||||
|
||||
// Build will be overwritten automatically by the build system
|
||||
Build = "dev"
|
||||
|
||||
// GitCommit will be overwritten automatically by the build system
|
||||
GitCommit = "HEAD"
|
||||
// Commit will be overwritten automatically by the build system
|
||||
Commit = "HEAD"
|
||||
)
|
||||
|
||||
// FullVersion returns the full version, build and commit hash
|
||||
func FullVersion() string {
|
||||
return fmt.Sprintf("%s-%s@%s", Version, Build, GitCommit)
|
||||
return fmt.Sprintf("%s@%s", Version, Commit)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue