Skip to content

Commit

Permalink
Fix goreleaser script
Browse files Browse the repository at this point in the history
Signed-off-by: João Pereira <joaod@vmware.com>
  • Loading branch information
joaopapereira committed Sep 22, 2023
1 parent 3e1f2fa commit a14bb35
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a14bb35

Please sign in to comment.