Skip to content

Commit

Permalink
update deprecated fields
Browse files Browse the repository at this point in the history
  • Loading branch information
konoui committed Aug 24, 2023
1 parent 8bcdd32 commit ef101bb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ builds:
env:
- CGO_ENABLED=0
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: macOS
linux: linux
386: i386
windows: windows
- name_template: >-
{{ .ProjectName }}_
{{ .Os }}_
{{- if eq .Arch "darwin" }}macOS
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format: binary
checksum:
Expand Down

0 comments on commit ef101bb

Please sign in to comment.