mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-19 11:57:07 +09:00
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:
1 parent
48416ce089
commit
e49629ebf3
1 file changed
+2
@@ -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 }}"
|
||||
|
||||
Reference in new issue
Block a user