Skip to content

Commit

Permalink
update name template
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Aug 16, 2023
1 parent 8b201ae commit a9a3755
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ builds:
- -s -w -X main.build={{.Version}}
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of uname.
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:
Expand Down

0 comments on commit a9a3755

Please sign in to comment.