ref:main

fix(ci): pick runner-native binary to drive release publish #39

merged colechristensen cole.christensen@gmail.com wants to merge fix/30-release-publish-arch into main

Why

anvil-cli releases stopped publishing — main‘s build-runner job fails with Exec format error running the arm64 binary on the amd64 runner (xps). The server is stuck on 2026.07.3, so the readiness fix (#38) can’t reach the runners via anvil update.

Root cause

ci/build-runner.sh hardcoded ANVIL_CLI=$PWD/$ARM64_BIN and used it for release list/create/upload. Only executes on an arm64 runner (carl); fails on amd64 (xps). 2026.07.3 published only because that job happened to land on carl.

Fix

Select the binary matching the runner’s uname -m (aarch64 → arm64 build, x86_64 → amd64 build). One-line-class change to a shell script; bash -n clean.

Once merged, main’s build-runner publishes the next release (with #38) on either runner — then carl/xps can anvil update.

Closes #30

🤖 Generated with Claude Code

Created Jul 17, 2026 at 16:19 UTC | Merged Jul 17, 2026 at 17:04 UTC by colechristensen cole.christensen@gmail.com