Skip to content

Commit

Permalink
fixing build pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: guilhermepaulozup <[email protected]>
  • Loading branch information
guilhermepaulozup committed Aug 7, 2023
1 parent 00bcca1 commit 2101949
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 <[email protected]>
description: Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.
Expand Down

0 comments on commit 2101949

Please sign in to comment.