cli: should be !=

This commit is contained in:
Mitchell Hashimoto 2015-05-11 11:45:48 -07:00
parent fbc051a941
commit 91a852e259
1 changed files with 1 additions and 1 deletions

View File

@ -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"
}