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

This commit is contained in:
Elara 2023-10-06 15:13:21 -07:00
parent 6b236f6240
commit 410e005458
1 changed files with 2 additions and 1 deletions

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: