From 3b79bc344949aa668ef87f077cb2a6e9f0637e9c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 11 May 2015 11:44:44 -0700 Subject: [PATCH] cli: fix dev on version flga --- cli/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commands.go b/cli/commands.go index f4d1832aaf..b8da56f8a3 100644 --- a/cli/commands.go +++ b/cli/commands.go @@ -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" }