Add ldflags to goreleaser config
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
6b236f6240
commit
410e005458
|
@ -1,12 +1,13 @@
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- go generate
|
|
||||||
builds:
|
builds:
|
||||||
- id: lure
|
- id: lure
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
binary: lure
|
binary: lure
|
||||||
|
ldflags:
|
||||||
|
- -X go.elara.ws/lure/pkg/config.Version={{.Version}}
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
goarch:
|
goarch:
|
||||||
|
|
Loading…
Reference in New Issue