From 84adedd1cb472f8c25ae8439d6cc120ddadd3cbe Mon Sep 17 00:00:00 2001 From: Logan Pritchett Date: Thu, 26 Feb 2026 23:58:01 -0600 Subject: [PATCH] macos: treat empty APP_BUILD as fallback --- scripts/package-mac-app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package-mac-app.sh b/scripts/package-mac-app.sh index 1288a2cf49d..353eb42477e 100755 --- a/scripts/package-mac-app.sh +++ b/scripts/package-mac-app.sh @@ -56,7 +56,7 @@ canonical_build_from_version() { return 1 } -if [[ -z "${APP_BUILD+x}" ]]; then +if [[ -z "${APP_BUILD:-}" ]]; then APP_BUILD="$GIT_BUILD_NUMBER" if CANONICAL_BUILD="$(canonical_build_from_version "$APP_VERSION")"; then if [[ "$CANONICAL_BUILD" =~ ^[0-9]+$ ]] && (( CANONICAL_BUILD > APP_BUILD )); then