diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a1d38e1..8e02d12 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -28,21 +28,21 @@ builds: goarch: - amd64 -# 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 }} -# # use zip for windows archives -# format_overrides: -# - goos: windows -# format: zip -# +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 }} + # use zip for windows archives + format_overrides: + - goos: windows + format: zip + changelog: sort: asc filters: