cli: fix dev on version flga

This commit is contained in:
Mitchell Hashimoto
2015-05-11 11:44:44 -07:00
parent c559382c47
commit 3b79bc3449

View File

@@ -232,7 +232,7 @@ func Commands(metaPtr *command.Meta) map[string]cli.CommandFactory {
if GitDescribe != "" {
ver = GitDescribe
}
if GitDescribe == "" && rel == "" {
if GitDescribe == "" && rel == "" && VesrionPrerelease == "" {
rel = "dev"
}