Skip to content

Commit

Permalink
Merge pull request #485 from Ajpantuso/apantuso/fix_goreleaser_deprec…
Browse files Browse the repository at this point in the history
…ations

fix: goreleaser deprecated use of replacements
  • Loading branch information
Ajpantuso authored Oct 6, 2023
2 parents 5477560 + f909d69 commit 412fc1a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ builds:
main: *main
ldflags: *flags
archives:
- replacements:
linux: Linux
darwin: Darwin
amd64: x86_64
- id: mtcli
name_template: >-
{{- .ProjectName }}_
{{- .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"
snapshot:
Expand Down

0 comments on commit 412fc1a

Please sign in to comment.