Skip to content

Commit

Permalink
update deprecated gorelease config
Browse files Browse the repository at this point in the history
  • Loading branch information
issmirnov committed Mar 6, 2024
1 parent 0db0f46 commit eca289e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
archives:
- id: cmd
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements:
amd64: 64-bit
386: 32-bit
darwin: MacOS
linux: Linux
arm64: Arm
name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}64-bit
{{- else if eq .Arch "386" }}32-bit
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
files:
- c.yml
- README.md
Expand Down

0 comments on commit eca289e

Please sign in to comment.