mirror of
https://github.com/netauth/ldap.git
synced 2026-11-03 11:43:44 -06:00
.goreleaser.yml: Inject the version into the built binary
This commit is contained in:
parent
efb4904910
commit
bdc0d85b53
|
|
@ -3,7 +3,9 @@ before:
|
||||||
- go mod vendor
|
- go mod vendor
|
||||||
- scripts/prepare.sh
|
- scripts/prepare.sh
|
||||||
builds:
|
builds:
|
||||||
- goos:
|
- ldflags:
|
||||||
|
- -s -w -X github.com/netauth/ldap/internal/buildinfo.Version={{.Version}}
|
||||||
|
goos:
|
||||||
- darwin
|
- darwin
|
||||||
- freebsd
|
- freebsd
|
||||||
- linux
|
- linux
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue