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