Skip to content

Commit

Permalink
chore: update goreleaser deprecated config (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas committed Jul 5, 2023
1 parent 9911a32 commit 49b0d51
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ builds:
env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: macos
linux: linux
windows: windows
386: i386
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "darwin" }}macos
{{- else if eq .Arch "linux" }}linux
{{- else if eq .Arch "windows" }}windows
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 49b0d51

Please sign in to comment.