From 647a64db091d19eab21af1102482241c45a69910 Mon Sep 17 00:00:00 2001 From: valoq Date: Tue, 14 Apr 2026 20:45:07 +0200 Subject: [PATCH] enable reproducible builds (#2525) --- gen/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/build.sh b/gen/build.sh index c060b64d..b72b12b7 100755 --- a/gen/build.sh +++ b/gen/build.sh @@ -10,6 +10,6 @@ set -o errexit -o nounset [ -z "${version:-}" ] && version=$(git describe --tags --abbrev=0) -CGO_ENABLED=0 go build -ldflags="-s -w -X main.gVersion=$version" "$@" +CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X main.gVersion=$version" "$@" # vim: tabstop=4 shiftwidth=4 textwidth=80 colorcolumn=80