From 21019490d43b2b382521efc7d1cb4eaea6b2dda8 Mon Sep 17 00:00:00 2001 From: guilhermepaulozup Date: Mon, 7 Aug 2023 18:42:39 -0300 Subject: [PATCH] fixing build pipeline Signed-off-by: guilhermepaulozup --- goreleaser.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/goreleaser.yml b/goreleaser.yml index 447981f41..d22eb3d49 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -78,25 +78,13 @@ archives: - id: horusec builds: - horusec - name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" + name_template: horusec_{{ replace (replace .Os "Windows" "win") "darwin" "mac" }}_{{ replace .Arch "386" "x86" }} format: binary - replacements: - amd64: amd64 - 386: x86 - arm64: arm64 - darwin: mac - windows: win - id: horusec-standalone builds: - horusec-standalone - name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_stand_alone" + name_template: horusec_{{ replace (replace .Os "Windows" "win") "darwin" "mac" }}_{{ replace .Arch "386" "x86" }}_stand_alone format: binary - replacements: - amd64: amd64 - 386: x86 - arm64: arm64 - darwin: mac - windows: win checksum: name_template: 'checksums.txt' release: @@ -113,15 +101,9 @@ release: nfpms: - id: horusec package_name: horusec - file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" + file_name_template: horusec_{{ replace (replace .Os "Windows" "win") "darwin" "mac" }}_{{ replace .Arch "386" "x86" }} builds: - horusec - replacements: - amd64: amd64 - 386: x86 - arm64: arm64 - darwin: mac - windows: win homepage: https://horusec.io/ maintainer: ZupIT description: Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.