Skip to content

Exclude unsupported windows/arm from goreleaser build matrix#246

Merged
aknysh merged 1 commit intomainfrom
aknysh/update-goreleaser-1
Feb 20, 2026
Merged

Exclude unsupported windows/arm from goreleaser build matrix#246
aknysh merged 1 commit intomainfrom
aknysh/update-goreleaser-1

Conversation

@aknysh
Copy link
Member

@aknysh aknysh commented Feb 20, 2026

what

  • Add ignore rule to the shared goreleaser config (.github/goreleaser.yml) to exclude the windows/arm (32-bit ARM) build target
  • Prevents "unsupported GOOS/GOARCH pair windows/arm" build failures for any org repo using Go 1.24+

why

  • Go 1.24 (February 2025) deprecated the windows/arm port, and Go 1.25+ removed it entirely. Any repo that upgrades past Go 1.23 and uses this shared goreleaser config will fail during the release build after spending ~33 minutes compiling the other 13 targets
  • The ignore rule is harmless for repos still on Go < 1.24 — goreleaser simply skips a target that would otherwise build successfully. No binaries are lost for any currently-supported platform
  • windows/arm (32-bit ARM on Windows) had negligible real-world usage — Windows on ARM devices run 64-bit Windows 11 (windows/arm64), which remains supported

references

Go 1.24+ dropped support for the windows/arm (32-bit ARM) GOOS/GOARCH
pair. Repos that upgrade to Go 1.24+ fail during goreleaser with
"unsupported GOOS/GOARCH pair windows/arm".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aknysh aknysh requested a review from a team as a code owner February 20, 2026 17:04
@aknysh aknysh added the patch A minor, backward compatible change label Feb 20, 2026
@aknysh aknysh self-assigned this Feb 20, 2026
@mergify
Copy link

mergify bot commented Feb 20, 2026

Important

Cloud Posse Engineering Team Review Required

This pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes.

To expedite this process, reach out to us on Slack in the #pr-reviews channel.

@mergify mergify bot added the needs-cloudposse Needs Cloud Posse assistance label Feb 20, 2026
@aknysh aknysh merged commit 2edae69 into main Feb 20, 2026
4 checks passed
@aknysh aknysh deleted the aknysh/update-goreleaser-1 branch February 20, 2026 17:18
@mergify mergify bot removed the needs-cloudposse Needs Cloud Posse assistance label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch A minor, backward compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants