From f33c439c2451142b6e1a0e0a88b03e1da53b36c9 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Tue, 7 Apr 2026 23:47:36 -0700 Subject: [PATCH] ci: upload patch-darwin-arm64.zip alongside x64 Download the new aarch64-apple-darwin asset from the patch release and upload it to GCS as patch-darwin-arm64.zip so Apple Silicon hosts can fetch a native binary instead of hitting "Bad CPU type in executable" when Rosetta is unavailable. Bumps PATCH_VERSION to 0.3.0, which is the first release that ships an explicit aarch64-apple-darwin asset (see shorebirdtech/updater#337). Note: PATCH_VERSION should be confirmed against the actual version cut from updater#337 before landing. --- shorebird/ci/internal/mac_upload.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shorebird/ci/internal/mac_upload.sh b/shorebird/ci/internal/mac_upload.sh index 8ec266246a8e1..e565a352ea963 100755 --- a/shorebird/ci/internal/mac_upload.sh +++ b/shorebird/ci/internal/mac_upload.sh @@ -166,14 +166,16 @@ gsutil cp $ZIPS_OUT/FlutterMacOS.framework.dSYM.zip $ZIPS_DEST/FlutterMacOS.fram TMP_DIR=$(mktemp -d) -PATCH_VERSION=0.2.1 +PATCH_VERSION=0.3.0 GH_RELEASE=https://github.com/shorebirdtech/updater/releases/download/patch-v$PATCH_VERSION/ cd $TMP_DIR curl -L $GH_RELEASE/patch-x86_64-apple-darwin.zip -o patch-x86_64-apple-darwin.zip +curl -L $GH_RELEASE/patch-aarch64-apple-darwin.zip -o patch-aarch64-apple-darwin.zip curl -L $GH_RELEASE/patch-x86_64-pc-windows-msvc.zip -o patch-x86_64-pc-windows-msvc.zip curl -L $GH_RELEASE/patch-x86_64-unknown-linux-musl.zip -o patch-x86_64-unknown-linux-musl.zip gsutil cp patch-x86_64-apple-darwin.zip $SHOREBIRD_ROOT/patch-darwin-x64.zip +gsutil cp patch-aarch64-apple-darwin.zip $SHOREBIRD_ROOT/patch-darwin-arm64.zip gsutil cp patch-x86_64-pc-windows-msvc.zip $SHOREBIRD_ROOT/patch-windows-x64.zip gsutil cp patch-x86_64-unknown-linux-musl.zip $SHOREBIRD_ROOT/patch-linux-x64.zip