Skip to content

Commit f70eb1e

Browse files
authored
fix: release for armv7l (#1300)
## Summary This should release devbox for an armv7l machine. I've added the default values in case there was no value found here: https://goreleaser.com/customization/builds/#builds Closes #1299 ## How was it tested? Manually created a release: `TELEMETRY_KEY=whatever SENTRY_DSN=whatever EDGE_TAG=0.0.0-dev goreleaser release --clean --skip-publish --skip-announce --snapshot` unpacked the armv7l binary and ran it on my Raspberry PI.
1 parent 1b5ece8 commit f70eb1e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.goreleaser.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ builds:
2121
goos:
2222
- linux
2323
- darwin
24+
goarch:
25+
- 386
26+
- amd64
27+
- arm64
28+
- arm
29+
goarm:
30+
- 7
2431
archives:
2532
- files:
2633
- no-files-will-match-* # Glob that does not match to create archive with only binaries.
27-
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
34+
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if eq .Arch "arm" }}v{{ .Arm }}l{{ end }}'
2835
snapshot:
2936
name_template: "{{ .Env.EDGE_TAG }}"
3037
checksum:

0 commit comments

Comments
 (0)