Skip to content

Commit

Permalink
build(goreleaser): actually replace the deprecated thing
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucktay committed Mar 2, 2023
1 parent 48bd47b commit e63a876
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ builds:
mod_timestamp: "{{ .CommitTimestamp }}"

archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
386: i386
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: "checksums.txt"
Expand Down

0 comments on commit e63a876

Please sign in to comment.