Copy dependencies into vendor dir, using dep
This commit is contained in:
1 parent
549ccff5eb
commit
b534ea60f5
2857 files changed
+945317
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
package version
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var (
|
||||
Version = "0.14.0"
|
||||
|
||||
// GitCommit will be overwritten automatically by the build system
|
||||
GitCommit = "HEAD"
|
||||
)
|
||||
|
||||
// FullVersion formats the version to be printed
|
||||
func FullVersion() string {
|
||||
return fmt.Sprintf("%s, build %s", Version, GitCommit)
|
||||
}
|
||||
|
||||
// RC checks if the Machine version is a release candidate or not
|
||||
func RC() bool {
|
||||
return strings.Contains(Version, "rc")
|
||||
}
|
||||
Reference in new issue
Block a user