File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ BUNDLE_ID=ai.openclaw.mac \
4040APP_VERSION=2026.3.8 \
4141BUILD_CONFIG=release \
4242SIGN_IDENTITY=" Developer ID Application: <Developer Name> (<TEAMID>)" \
43- scripts/package-mac-app .sh
43+ scripts/package-mac-dist .sh
4444
4545# Zip for distribution (includes resource forks for Sparkle delta support)
4646ditto -c -k --sequesterRsrc --keepParent dist/OpenClaw.app dist/OpenClaw-2026.3.8.zip
Original file line number Diff line number Diff line change @@ -16,7 +16,14 @@ GIT_BUILD_NUMBER=$(cd "$ROOT_DIR" && git rev-list --count HEAD 2>/dev/null || ec
1616APP_VERSION=" ${APP_VERSION:- $PKG_VERSION } "
1717APP_BUILD=" ${APP_BUILD:- } "
1818BUILD_CONFIG=" ${BUILD_CONFIG:- debug} "
19- BUILD_ARCHS_VALUE=" ${BUILD_ARCHS:- $(uname -m)} "
19+ if [[ -n " ${BUILD_ARCHS:- } " ]]; then
20+ BUILD_ARCHS_VALUE=" ${BUILD_ARCHS} "
21+ elif [[ " $BUILD_CONFIG " == " release" ]]; then
22+ # Release packaging should be universal unless explicitly overridden.
23+ BUILD_ARCHS_VALUE=" all"
24+ else
25+ BUILD_ARCHS_VALUE=" $( uname -m) "
26+ fi
2027if [[ " ${BUILD_ARCHS_VALUE} " == " all" ]]; then
2128 BUILD_ARCHS_VALUE=" arm64 x86_64"
2229fi
You can’t perform that action at this time.
0 commit comments