mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user