Skip to content

Commit

Permalink
fix: fix goreleaser action (#59)
Browse files Browse the repository at this point in the history
* chore: user goreleaser v1.18.2

* chore: fix release pipeline
  • Loading branch information
rahmatrhd authored Aug 15, 2023
1 parent 7966278 commit 46a0e05
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ builds:
env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: macos
linux: linux
windows: windows
386: i386
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "linux" }}linux
{{- else if eq .Arch "windows" }}windows
{{- else if eq .Arch "darwin" }}macos
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
Expand Down Expand Up @@ -58,8 +62,10 @@ nfpms:
formats:
- deb
- rpm
replacements:
darwin: macOS
file_name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "darwin" }}macos{{- else }}{{ .Arch }}{{ end }}
scoop:
bucket:
owner: goto
Expand Down

0 comments on commit 46a0e05

Please sign in to comment.