Fix nightly to have proper git commit and move to Go 1.17

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
Ivan Kozlovic
2022-01-26 14:58:11 -07:00
parent 7cf537e532
commit 5d6e96067d
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ builds:
id: nats-server
binary: nats-server
ldflags:
- -w -X github.com/nats-io/nats-server/server.gitCommit={{.ShortCommit}}
- -w -X github.com/nats-io/nats-server/v2/server.gitCommit={{.ShortCommit}}
env:
- GO111MODULE=on
- CGO_ENABLED=0