From f96241dc42946e717e69a836aae8280759b3127c Mon Sep 17 00:00:00 2001 From: Anish Kumar Date: Wed, 14 Jan 2026 23:17:18 +0530 Subject: [PATCH] Allow build to continue when Play Store or Horizon Store upload fails (#147) --- publish-release.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/publish-release.sh b/publish-release.sh index e27946b..09442f4 100755 --- a/publish-release.sh +++ b/publish-release.sh @@ -213,14 +213,18 @@ fi if [ -e "${GODOT_ANDROID_UPLOAD_JSON_KEY}" ]; then echo "Publishing Android Editor to Play Store..." - sh build-android/upload-playstore.sh ${godot_version} + ./build-android/upload-playstore.sh "${godot_version}" || { + echo "Play Store upload script failed; continuing build..." + } else echo "Disabling Android Editor publishing on the Play Store as no valid Play Store JSON key was found." fi if [ ! -z "${GODOT_ANDROID_HORIZON_APP_ID}" ] && [ ! -z "${GODOT_ANDROID_HORIZON_APP_SECRET}" ]; then echo "Publishing Android Editor to Horizon Store..." - ./build-android/upload-horizon.sh ${godot_version} ${latest_stable} + ./build-android/upload-horizon.sh ${godot_version} ${latest_stable} || { + echo "Horizon Store upload script failed; continuing build..." + } else echo "Disabling Android Editor publishing on the Horizon Store as config.sh does not define the required data (GODOT_ANDROID_HORIZON_APP_ID, GODOT_ANDROID_HORIZON_SECRET)." fi