From a72acf6183a76fd3a8f6c991713ae27eb6bbfa92 Mon Sep 17 00:00:00 2001 From: Sergey Maskalik Date: Tue, 11 Feb 2020 21:43:31 -0800 Subject: [PATCH] Add name template --- .goreleaser.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index d1fdf6c..a76b5b6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -22,7 +22,8 @@ builds: - goos: darwin goarch: 386 archives: - - replacements: + - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + replacements: darwin: Darwin linux: Linux windows: Windows