Fixed goreleaser ldflags

Since we moved to go modules, the path must include the `/v2`.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
Ivan Kozlovic
2022-01-13 19:02:41 -07:00
parent bb87a650ac
commit c76bf81267
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ builds:
- main: ./main.go
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