goreleaser config update (fix)

replacements is now deprecated - https://goreleaser.com/deprecations#archivesreplacements
dev
sandeep 2023-07-03 18:19:08 +05:30
parent 71ef8cb0ed
commit 5247b889bd
1 changed files with 1 additions and 7 deletions

View File

@ -37,13 +37,7 @@ archives:
- format: zip
id: nuclei
builds: [nuclei-cli]
replacements:
darwin: macOS
- format: zip
id: annotate
builds: [annotate]
name_template: "{{ .Binary }}"
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
checksum:
algorithm: sha256