From ae30cbb02a5b30e0ba52236bce9f470707f11810 Mon Sep 17 00:00:00 2001 From: David Kang Date: Mon, 29 Apr 2024 15:36:12 -0700 Subject: [PATCH] Add -trimpath flag for builds (#365) --- .goreleaser.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 202ba16a..2a9d32f4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -14,6 +14,8 @@ builds: - linux # - windows - darwin + flags: + - -trimpath ldflags: - -X "main.version={{.Version}}"