From 91a852e259a25e6b89042f1c055e9578f2017ea9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 11 May 2015 11:45:48 -0700 Subject: [PATCH] cli: should be != --- cli/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commands.go b/cli/commands.go index a9ad4115e..4dbb7ebb1 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 == "" && VersionPrerelease == "" { + if GitDescribe == "" && rel == "" && VersionPrerelease != "" { rel = "dev" }