goreleaser: build with -trimpath

Release logs showed the CI runner's checkout path on every Caller() line; nix builds already trim.
This commit is contained in:
Kristoffer Dalby committed 2026-11-10 15:55:25 +01:00
1 parent 48416ce089
commit e49629ebf3
1 file changed
+2
+2
View File
@@ -26,6 +26,8 @@ builds:
- linux_arm64
flags:
- -mod=readonly
# Log callers and panic traces name module paths, not the CI checkout.
- -trimpath
hooks:
pre: bash tools/release-check.sh
post: bash tools/release-check.sh "{{ .Path }}"