mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Don't default to dev version
This commit is contained in:
parent
e96794a420
commit
37de7a3505
@ -35,9 +35,6 @@ func getHumanVersion() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
release := VersionPrerelease
|
release := VersionPrerelease
|
||||||
if GitDescribe == "" && release == "" {
|
|
||||||
release = "dev"
|
|
||||||
}
|
|
||||||
if release != "" {
|
if release != "" {
|
||||||
if !strings.Contains(version, release) {
|
if !strings.Contains(version, release) {
|
||||||
version += fmt.Sprintf("-%s", release)
|
version += fmt.Sprintf("-%s", release)
|
||||||
|
Loading…
Reference in New Issue
Block a user