From b6ace9d91a12f895b36043ce35e30545b4d6ca54 Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Wed, 30 Oct 2024 12:51:30 -0500 Subject: [PATCH] strip symbol and DWARF tables (#3534) --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 77bc73d8cf0a..e951f957960a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,7 +2,7 @@ version: 2 builds: - binary: trufflehog ldflags: - - -X 'github.com/trufflesecurity/trufflehog/v3/pkg/version.BuildVersion={{ .Version }}' + - -s -w -X 'github.com/trufflesecurity/trufflehog/v3/pkg/version.BuildVersion={{ .Version }}' env: [CGO_ENABLED=0] goos: - linux