Skip to content

Commit

Permalink
update config for goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariKnight committed Sep 12, 2023
1 parent 748aa4b commit 4ef839b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cmd/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ builds:
post:
- upx "{{ .Path }}"
archives:
- replacements:
linux: Linux
amd64: x86_64
- id: default
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'
snapshot:
Expand Down

0 comments on commit 4ef839b

Please sign in to comment.