Skip to content

Commit

Permalink
fix: goreleaser yml template (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryashbhardwaj authored Aug 14, 2023
1 parent ca41012 commit d885087
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ builds:
env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: macos
linux: linux
windows: windows
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_latest_
{{- if eq .Os "darwin" }}macos
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit d885087

Please sign in to comment.