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
|
||||
- scripts/prepare.sh
|
||||
builds:
|
||||
- goos:
|
||||
- ldflags:
|
||||
- -s -w -X github.com/netauth/ldap/internal/buildinfo.Version={{.Version}}
|
||||
goos:
|
||||
- darwin
|
||||
- freebsd
|
||||
- linux
|
||||
|
|
|
|||
Loading…
Reference in a new issue