Browse Source

build: remove (double) build number from geodns internal version

Ask Bjørn Hansen 4 years ago
parent
commit
ab95b55fb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .goreleaser.yml

+ 1 - 1
.goreleaser.yml

@@ -8,7 +8,7 @@ builds:
       - CGO_ENABLED=0
     ldflags:
       - -s -w
-      - -X main.VERSION={{.Version}}{{ if index .Env "DRONE_BUILD_NUMBER" }}-{{ .Env.DRONE_BUILD_NUMBER }}{{ end }}
+      - -X main.VERSION={{.Version}}
       - -X main.gitVersion={{.ShortCommit}}
       - -X main.buildTime={{.Date}}