diff --git a/.goreleaser.yml b/.goreleaser.yml index 855a8b4..64c2d63 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,19 +18,12 @@ builds: ldflags: - -X github.com/k14s/kwt/pkg/kwt/version.Version={{ .Version }} -# archives: -# - format: binary -# name_template: "{{ .Binary }}" -# replacements: -# darwin: Darwin -# linux: Linux -# amd64: x86_64 archives: - - id: kwt + - format: binary name_template: >- - {{- .ProjectName }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 + {{- .ProjectName }}- + {{- tolower title .Os }}- + {{- if eq .Arch "x86_64" }}amd64 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end -}} checksum: