nuclei/.goreleaser.yml

54 lines
1.0 KiB
YAML
Raw Normal View History

2021-03-14 07:07:41 +00:00
before:
hooks:
- go mod tidy
2020-06-01 19:34:57 +00:00
builds:
- main: cmd/nuclei/main.go
binary: nuclei
id: nuclei-cli
env:
2021-06-15 16:01:56 +00:00
- CGO_ENABLED=0
goos: [windows,linux,darwin]
goarch: [amd64,386,arm,arm64]
2021-06-15 16:01:56 +00:00
ignore:
- goos: darwin
goarch: 386
2021-07-12 13:54:04 +00:00
- goos: windows
goarch: arm
2021-09-01 15:26:30 +00:00
- goos: windows
goarch: arm64
2021-06-15 16:01:56 +00:00
flags:
- -trimpath
2023-06-26 19:32:11 +00:00
#- main: cmd/tmc/main.go
# binary: tmc
# id: annotate
#
# env:
# - CGO_ENABLED=0
#
# goos: [linux]
# goarch: [amd64]
2020-06-01 19:34:57 +00:00
archives:
2021-06-15 16:01:56 +00:00
- format: zip
id: nuclei
builds: [nuclei-cli]
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
2021-06-15 16:01:56 +00:00
checksum:
2021-09-01 15:26:30 +00:00
algorithm: sha256
2022-08-13 08:30:08 +00:00
announce:
slack:
enabled: true
channel: '#release'
username: GoReleaser
2023-03-16 18:29:14 +00:00
message_template: 'New Release: {{ .ProjectName }} {{.Tag}} is published! Check it out at {{ .ReleaseURL }}'
discord:
enabled: true
message_template: '**New Release: {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'