nuclei/v2/.goreleaser.yml

39 lines
479 B
YAML

before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
goarch:
- amd64
- 386
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
- goos: windows
goarch: 'arm'
- goos: windows
goarch: 'arm64'
binary: '{{ .ProjectName }}'
main: cmd/nuclei/main.go
flags:
- -trimpath
archives:
- format: zip
replacements:
darwin: macOS
checksum:
algorithm: sha256