From 347122153b082da3b1d3cb56f4ab0d629fbad5d1 Mon Sep 17 00:00:00 2001 From: Equim Date: Thu, 26 Apr 2018 22:38:15 +0800 Subject: [PATCH] fix name_template for arm arch --- .goreleaser.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6a0bb9e8..ef13e3dc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,17 +24,19 @@ build: - 6 - 7 ignore: + - goos: darwin + goarch: 386 - goos: openbsd goarch: arm - goarm: 6 - goos: freebsd goarch: arm - goarm: 6 - - goos: linux - goarch: arm64 + - goos: netbsd + goarch: arm + - goos: solaris + goarch: arm archive: - name_template: "{{.Os}}-{{.Arch}}-{{ .ProjectName }}" + name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}" format: tar.gz format_overrides: - goos: windows