Skip to content

Commit

Permalink
releaser fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
srokade-tenable committed Jul 27, 2023
1 parent d9c9956 commit 2a38b10
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,16 @@ builds:
- goos: windows
goarch: arm64
archives:
- id: darwin
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: format_all_build_names
name_template: >-
{{ .Binary }}_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
# for windows it is good to have zip along with tar.gz
- id: win_zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
replacements:
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 2a38b10

Please sign in to comment.