Skip to content

Commit

Permalink
Merge pull request #710 from nokia/moosq-patch-2
Browse files Browse the repository at this point in the history
patch archive file name
  • Loading branch information
moosq authored Oct 20, 2023
2 parents c092e3b + 643dd19 commit 82ccf3e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ builds:
- windows
ignore:
- goos: darwin
goarch: 386
goarch: '386'
- goos: windows
goarch: 386
goarch: '386'
- goos: windows
goarch: arm64

Expand All @@ -40,7 +40,13 @@ nfpms:
bindir: /usr/bin

archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit 82ccf3e

Please sign in to comment.