Skip to content

Find, verify, and analyze leaked credentials

strip symbol and DWARF tables (#3534)

Zachary Riceb6ace9d91a12
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 77bc73d8c..e951f9579 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