Update goreleaser configuration (#379)
This commit is contained in:
parent
9a5a067bca
commit
4532da8064
@ -1,5 +1,16 @@
|
|||||||
builds:
|
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:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user