update version for rc1

This commit is contained in:
Ethan Buchman
2017-05-18 07:20:37 -04:00
parent 790e04ed3e
commit d4fa98de68
2 changed files with 7 additions and 13 deletions
+1 -7
View File
@@ -1,24 +1,18 @@
package version
import (
"fmt"
)
const Maj = "0"
const Min = "10"
const Fix = "0"
var (
// The full version string
Version = "0.10.0"
Version = "0.10.0-rc1"
// GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
GitCommit string
)
func init() {
Version = fmt.Sprintf("%d.%d.%d", Maj, Min, Fix)
if GitCommit != "" {
Version += "-" + GitCommit[:8]
}