Add ldflags to goreleaser config
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-10-06 15:13:21 -07:00
parent 6b236f6240
commit 410e005458
+2 -1
View File
@@ -1,12 +1,13 @@
before:
hooks:
- go mod tidy
- go generate
builds:
- id: lure
env:
- CGO_ENABLED=0
binary: lure
ldflags:
- -X go.elara.ws/lure/pkg/config.Version={{.Version}}
goos:
- linux
goarch: