From 5247b889bda8613e4f6a95423ce01226f3627b5a Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Mon, 3 Jul 2023 18:19:08 +0530 Subject: [PATCH] goreleaser config update (fix) replacements is now deprecated - https://goreleaser.com/deprecations#archivesreplacements --- v2/.goreleaser.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/v2/.goreleaser.yml b/v2/.goreleaser.yml index 83b95e80..df77d595 100644 --- a/v2/.goreleaser.yml +++ b/v2/.goreleaser.yml @@ -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