Don't default to dev version

This commit is contained in:
Mike Farah 2018-02-19 14:05:22 +11:00
parent e96794a420
commit 37de7a3505

View File

@ -35,9 +35,6 @@ func getHumanVersion() string {
}
release := VersionPrerelease
if GitDescribe == "" && release == "" {
release = "dev"
}
if release != "" {
if !strings.Contains(version, release) {
version += fmt.Sprintf("-%s", release)