From 0175453c8be82c183d274f5f1d6da38adc038c5d Mon Sep 17 00:00:00 2001 From: Alex Buchanan Date: Thu, 29 Aug 2024 10:59:42 -0700 Subject: [PATCH] match file name --- .goreleaser.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d4f8144..24be079 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -23,14 +23,7 @@ builds: 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 }} + name_template: {{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }} # use zip for windows archives format_overrides: - goos: windows