From e49629ebf36cb360dcea1b83f10ffc78bc37c5e2 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 9 Nov 2026 15:00:29 +0000 Subject: [PATCH] goreleaser: build with -trimpath Release logs showed the CI runner's checkout path on every Caller() line; nix builds already trim. --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 317240c0d..03b387f03 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 }}"