Skip to content

github: skip Android assets and prefer the plain build on Linux (#287)#290

Merged
eirikb merged 1 commit into
mainfrom
feature/eirikb/bun-android-asset-filter
Jul 10, 2026
Merged

github: skip Android assets and prefer the plain build on Linux (#287)#290
eirikb merged 1 commit into
mainfrom
feature/eirikb/bun-android-asset-filter

Conversation

@eirikb

@eirikb eirikb commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Android release assets carry "linux" in the name (e.g. bun-linux-x64-android-*), so they matched a desktop Linux target and could get picked - then the missing binary blew up with "os error 2". Treat an "android" token as unknown OS so those assets drop out.

Also add a tiebreaker: when several same-version assets fit the target, prefer the plainest one over -profile/-baseline/-debug flavors. bun's filenames have no embedded version, so every candidate scored equal and the sort just kept GitHub's order - picking bun-linux-x64-baseline-profile.zip instead of bun-linux-x64.zip.

Android release assets carry "linux" in the name (e.g.
bun-linux-x64-android-*), so they matched a desktop Linux target and could
get picked - then the missing binary blew up with "os error 2". Treat an
"android" token as unknown OS so those assets drop out.

Also add a tiebreaker: when several same-version assets fit the target,
prefer the plainest one over -profile/-baseline/-debug flavors. bun's
filenames have no embedded version, so every candidate scored equal and the
sort just kept GitHub's order - picking bun-linux-x64-baseline-profile.zip
instead of bun-linux-x64.zip.
@eirikb
eirikb enabled auto-merge (squash) July 10, 2026 09:33
@eirikb
eirikb merged commit fcd96f6 into main Jul 10, 2026
166 checks passed
@eirikb
eirikb deleted the feature/eirikb/bun-android-asset-filter branch July 10, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant