diff --git a/.goreleaser.yml b/.goreleaser.yml index ae1ef70..19e6330 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,16 @@ builds: - - binary: ffuf + - id: ffuf + binary: ffuf + flags: + - -trimpath + env: + - CGO_ENABLED=0 + asmflags: + - all=-trimpath={{.Env.GOPATH}} + gcflags: + - all=-trimpath={{.Env.GOPATH}} + ldflags: | + -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -extldflags '-static' goos: - linux - windows