Skip to content

Commit

Permalink
Update releaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
cl-bvl committed Jul 13, 2023
1 parent 9e491fd commit 54a5695
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,19 @@ builds:
- 6
- 7
archives:
- replacements:
darwin: MacOS
linux: Linux
windows: Windows
freebsd: FreeBSD
netbsd: NetBSD
openbsd: OpenBSD
386: i386
amd64: x86_64
- id: s3sync
name_template: >-
{{ .ProjectName }}_
{{- if eq .Os "darwin" }}MacOS_
{{- else if eq .Os "linux" }}Linux_
{{- else if eq .Os "windows" }}Windows_
{{- else if eq .Os "freebsd" }}FreeBSD_
{{- else if eq .Os "netbsd" }}NetBSD_
{{- else if eq .Os "openbsd" }}OpenBSD_
{{- else }}{{ .Os }}_{{ end }}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 54a5695

Please sign in to comment.