Fix check for Play Store JSON upload key

(cherry picked from commit d72076547a)
This commit is contained in:
Rémi Verschelde
2025-10-15 23:09:00 +02:00
parent daba64bcfa
commit 5adaf9761a
2 changed files with 4 additions and 3 deletions

View File

@@ -25,4 +25,5 @@ source "$VENV_DIR/bin/activate"
echo "Installing google-api-python-client"
pip install --upgrade google-api-python-client
echo "Uploading editor to Google Play Store..."
python3 "$PYTHON_SCRIPT" "$AAB_FILE" "$NDS_FILE" "$JSON_KEY_FILE" "$VERSION_NAME"

View File

@@ -178,11 +178,11 @@ fi
# Godot Android Editor
if [ -d "deps/playstore_key.json" ]; then
echo "Publishing Android Editor to PlayStore..."
if [ -e "${GODOT_ANDROID_UPLOAD_JSON_KEY}" ]; then
echo "Publishing Android Editor to Play Store..."
sh build-android/upload-playstore.sh ${godot_version}
else
echo "Disabling Android Editor publishing as deps/playstore_key.json doesn't exist."
echo "Disabling Android Editor publishing as no valid Play Store JSON key was found."
fi
# Godot Android library