Skip to content

Commit

Permalink
fix: goreleaser config (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspin authored Oct 17, 2023
1 parent a508c04 commit 3540ff8
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,23 @@ archives:
- id: non-windows-archive
builds:
- non-windows-build
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
- id: windows-archive
builds:
- windows-build
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
386: i386
amd64: x86_64
windows: Windows
name_template: >-
{{ .ProjectName }}_
{{- 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: '{{ .ProjectName }}_checksums.txt'
Expand Down

0 comments on commit 3540ff8

Please sign in to comment.