Skip to content

Commit

Permalink
Merge pull request #80 from stakater/gorelease-trouble
Browse files Browse the repository at this point in the history
Fix gorelease arch
  • Loading branch information
rasheedamir authored Sep 17, 2024
2 parents 4703186 + 0dd5c1a commit 63a8f64
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,22 @@ builds:
goarch:
- 386
- amd64
- arm
- arm64
- ppc64le
ignore:
- goos: windows
goarch: arm64

archives:
- name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`
name_template: >-
{{ .ProjectName }}_v
{{- .Version }}_
{{- 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 63a8f64

Please sign in to comment.