Skip to content

Commit ee7fb46

Browse files
authored
Update goreleaser config to fix arm64 package (#711)
Goreleaser has changes to suffix arm64 artifacts with v8.0. Change src glob when packaging to pick up this naming change
1 parent 177a0a9 commit ee7fb46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ nfpms:
8080
# GoReleaser will automatically add the binaries.
8181
contents:
8282
# The src and dst attributes also supports name templates
83-
- src: dist/{{ .ProjectName }}_{{ .Os }}_{{ if .Amd64 }}{{ .Arch }}_v1{{ else if .Arm }}{{ .Arch }}_6{{ else }}{{ .Arch }}{{ end }}/kosli
83+
- src: dist/{{ .ProjectName }}_{{ .Os }}_{{ if .Amd64 }}{{ .Arch }}_v1{{ else if .Arm }}{{ .Arch }}_6{{ else if eq .Arch "arm64" }}{{ .Arch }}_v8.0{{ else }}{{ .Arch }}{{ end }}/kosli
8484
dst: /usr/local/bin/kosli
8585

8686
publishers:

0 commit comments

Comments
 (0)