Skip to content

Commit

Permalink
chore: fix goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
cuotos committed Apr 3, 2024
1 parent 3fbe23c commit 6183349
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ dockers:
- "cuotos/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}"
- "cuotos/{{ .ProjectName }}:latest"
archives:
- replacements:
darwin: Darwin
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 }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 6183349

Please sign in to comment.