inject git version into build

This commit is contained in:
Chris Lu committed 2020-06-02 00:10:38 -07:00
1 parent ea93d21641
commit bc2ec6774d
15 files changed
+35 -27

No files matched your search

+1 -1
View File
@@ -19,6 +19,6 @@ func runVersion(cmd *Command, args []string) bool {
cmd.Usage()
}
fmt.Printf("version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH)
fmt.Printf("version %s %s %s\n", util.Version(), runtime.GOOS, runtime.GOARCH)
return true
}