Skip to content

Commit 3471221

Browse files
authored
fix name_template for arm arch
1 parent 7643b0c commit 3471221

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.goreleaser.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,19 @@ build:
2424
- 6
2525
- 7
2626
ignore:
27+
- goos: darwin
28+
goarch: 386
2729
- goos: openbsd
2830
goarch: arm
29-
goarm: 6
3031
- goos: freebsd
3132
goarch: arm
32-
goarm: 6
33-
- goos: linux
34-
goarch: arm64
33+
- goos: netbsd
34+
goarch: arm
35+
- goos: solaris
36+
goarch: arm
3537

3638
archive:
37-
name_template: "{{.Os}}-{{.Arch}}-{{ .ProjectName }}"
39+
name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}"
3840
format: tar.gz
3941
format_overrides:
4042
- goos: windows

0 commit comments

Comments
 (0)