fix(cli): correct Homebrew formula URL for Linux x64 baseline build (#408)

The release workflow produces `hapi-linux-x64-baseline.tar.gz` (from
bun-linux-x64-baseline target), but the Homebrew formula generator wrote
the URL as `hapi-linux-x64.tar.gz`, causing `brew install` to fail on
Linux x64 with a 404.

Closes #365

via [HAPI](https://hapi.run)

Co-authored-by: HAPI <noreply@hapi.run>
This commit is contained in:
Haoqing Wang
2026-04-06 20:41:41 +08:00
committed by GitHub
co-authored by HAPI
parent 1c8cb5c90d
commit c02f392d81
+1 -1
View File
@@ -87,7 +87,7 @@ class Hapi < Formula
url "https://github.com/tiann/hapi/releases/download/v#{version}/hapi-linux-arm64.tar.gz"
sha256 "${shas.linuxArm64}"
else
url "https://github.com/tiann/hapi/releases/download/v#{version}/hapi-linux-x64.tar.gz"
url "https://github.com/tiann/hapi/releases/download/v#{version}/hapi-linux-x64-baseline.tar.gz"
sha256 "${shas.linuxX64}"
end
end