-
Notifications
You must be signed in to change notification settings - Fork 326
feat: add armv6/armv7 (32-bit ARM) release builds #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,13 +18,22 @@ builds: | |
| goarch: | ||
| - amd64 | ||
| - arm64 | ||
| - arm | ||
| goarm: | ||
| - "6" | ||
| - "7" | ||
|
Comment on lines
+21
to
+24
|
||
| ignore: | ||
| - goos: darwin | ||
| goarch: arm | ||
| - goos: windows | ||
| goarch: arm | ||
| ldflags: | ||
| - -s -w -X main.version={{.Version}} | ||
|
|
||
| archives: | ||
| - formats: | ||
| - tar.gz | ||
| name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
| name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{- if .Arm }}v{{ .Arm }}{{ end }}" | ||
| format_overrides: | ||
| - goos: windows | ||
| formats: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With
goosincludingdarwinandwindows, addingarmtogoarchwill make GoReleaser attempt unsupported target pairs (e.g., darwin/arm and likely windows/arm), which will fail the release build. Consider splitting into a separate build entry forlinux/armonly, or addignorerules to exclude non-linuxarmtargets.