.goreleaser.yml: Inject the version into the built binary

This commit is contained in:
Michael Aldridge 2026-11-01 18:57:37 -06:00
parent efb4904910
commit bdc0d85b53

View file

@ -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