Skip to content

Commit

Permalink
name_template
Browse files Browse the repository at this point in the history
Signed-off-by: Darren Kellenschwiler <deggen@kschw.com>
  • Loading branch information
sirdeggen committed Sep 12, 2023
1 parent 1d9e871 commit 80d96d8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -23,12 +23,13 @@ build:
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
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 -}}
checksum:
name_template: 'checksums.txt'
# ---------------------------

0 comments on commit 80d96d8

Please sign in to comment.