From c02f392d8101e9e98f6101e371a26c0106a81625 Mon Sep 17 00:00:00 2001 From: Haoqing Wang <78337154+hqhq1025@users.noreply.github.com> Date: Mon, 6 Apr 2026 20:41:41 +0800 Subject: [PATCH] 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 --- cli/scripts/update-homebrew-formula.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/scripts/update-homebrew-formula.ts b/cli/scripts/update-homebrew-formula.ts index 53b28d45..c65e5d0a 100644 --- a/cli/scripts/update-homebrew-formula.ts +++ b/cli/scripts/update-homebrew-formula.ts @@ -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