Commit f7d7b52
Fix the release verify picking a musl binary on glibc runners
With --baseline the build also emits musl variants, and the verify step used
`find dist -type f -name utmstack | head -1`, which took whichever directory
sorted first. On the x64 runners that was opencode-linux-x64-baseline-musl —
a musl-linked binary, which cannot execute on a glibc runner. The kernel
reports the missing ELF interpreter as "No such file or directory" and the
step died with 127, having built perfectly good binaries.
Verify now addresses dist/opencode-<matrix.target>/bin directly, so each job
tests the artifact it is actually responsible for.
Packaging now skips musl variants entirely. They come out of the build for
free, but they are untested and unadvertised, and the installer refuses musl
with an explicit message — shipping them would promise support we have not
verified.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d8a4bdc commit f7d7b52
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
| |||
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
120 | 130 | | |
121 | 131 | | |
122 | 132 | | |
| |||
0 commit comments