fix name_template for arm arch

pull/433/merge
Equim 2018-04-26 22:38:15 +08:00 committed by GitHub
parent 7643b0c4e3
commit 347122153b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -24,17 +24,19 @@ build:
- 6 - 6
- 7 - 7
ignore: ignore:
- goos: darwin
goarch: 386
- goos: openbsd - goos: openbsd
goarch: arm goarch: arm
goarm: 6
- goos: freebsd - goos: freebsd
goarch: arm goarch: arm
goarm: 6 - goos: netbsd
- goos: linux goarch: arm
goarch: arm64 - goos: solaris
goarch: arm
archive: archive:
name_template: "{{.Os}}-{{.Arch}}-{{ .ProjectName }}" name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}"
format: tar.gz format: tar.gz
format_overrides: format_overrides:
- goos: windows - goos: windows