diff --git a/cmd/showbridge/.goreleaser.yaml b/cmd/showbridge/.goreleaser.yaml index baa963c..6fbdafe 100644 --- a/cmd/showbridge/.goreleaser.yaml +++ b/cmd/showbridge/.goreleaser.yaml @@ -17,15 +17,7 @@ builds: archives: - formats: [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 + name_template: "showbridge_{{ .Version }}_{{ .Os }}_{{ .Arch }}" format_overrides: - goos: windows formats: [zip]