diff options
Diffstat (limited to 'coremain/run.go')
-rw-r--r-- | coremain/run.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coremain/run.go b/coremain/run.go index b62878c3a..5dcb3c013 100644 --- a/coremain/run.go +++ b/coremain/run.go @@ -173,8 +173,7 @@ func setVersion() { // Only set the appVersion if -ldflags was used if gitNearestTag != "" || gitTag != "" { if devBuild && gitNearestTag != "" { - appVersion = fmt.Sprintf("%s (+%s %s)", - strings.TrimPrefix(gitNearestTag, "v"), GitCommit, buildDate) + appVersion = fmt.Sprintf("%s (+%s %s)", strings.TrimPrefix(gitNearestTag, "v"), GitCommit, buildDate) } else if gitTag != "" { appVersion = strings.TrimPrefix(gitTag, "v") } |