diff --git a/scripts/build.sh b/scripts/build.sh index 664f68d8..3b3d9b5e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -25,7 +25,7 @@ do binary_extension=".exe" fi echo "Building ${supported_arch}…" - GOOS="$os" GOARCH="$arch" go build \ + GOOS="$os" GOARCH="$arch" go build -trimpath \ -ldflags="-X github.com/LeSuisse/vault-gpg-plugin/version.GitCommit='$(git rev-parse HEAD)'" \ -o "pkg/${os}_${arch}/vault-gpg-plugin${binary_extension}" done