Skip to content

Commit

Permalink
Merge pull request #30 from hatena/replace/archives.replacements
Browse files Browse the repository at this point in the history
replace/archives.replacements
  • Loading branch information
0xmks authored Oct 16, 2023
2 parents 47db1a7 + 303965a commit ab12cca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ builds:
env:
- CGO_ENABLED=0
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: darwin
linux: linux
arm64: arm64
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
release:
prerelease: auto

0 comments on commit ab12cca

Please sign in to comment.