Skip to content

Commit

Permalink
chore: update deprecated options in goreleaser.yml for 1.4.x compatib…
Browse files Browse the repository at this point in the history
…ility (#1450)
  • Loading branch information
ubogdan authored Jan 25, 2023
1 parent 6d18e7a commit aa3e8d5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ build:
- 386
env:
- CGO_ENABLED=0

archives:
-
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
arm64: aarch64
- id: foo
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- if eq .Os "linux"}}Linux{{ else if eq .Os "darwin"}}Darwin{{ else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "386" }}i386{{ else if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit aa3e8d5

Please sign in to comment.