Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
chore: update goreleaser deprecated config (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
StewartJingga authored Jul 5, 2023
1 parent 9e49476 commit 70cfccf
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 @@ -23,12 +23,15 @@ builds:
- 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" }}amd64
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 70cfccf

Please sign in to comment.