Update goreleaser configuration (#379)

This commit is contained in:
Joona Hoikkala 2021-01-24 19:09:57 +02:00 committed by GitHub
parent 9a5a067bca
commit 4532da8064
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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