Skip to content

Commit d720765

Browse files
committed
Fix check for Play Store JSON upload key
1 parent 33d44ce commit d720765

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build-android/upload-playstore.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ source "$VENV_DIR/bin/activate"
2525
echo "Installing google-api-python-client"
2626
pip install --upgrade google-api-python-client
2727

28+
echo "Uploading editor to Google Play Store..."
2829
python3 "$PYTHON_SCRIPT" "$AAB_FILE" "$NDS_FILE" "$JSON_KEY_FILE" "$VERSION_NAME"

publish-release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@ fi
178178

179179
# Godot Android Editor
180180

181-
if [ -d "deps/playstore_key.json" ]; then
182-
echo "Publishing Android Editor to PlayStore..."
181+
if [ -e "${GODOT_ANDROID_UPLOAD_JSON_KEY}" ]; then
182+
echo "Publishing Android Editor to Play Store..."
183183
sh build-android/upload-playstore.sh ${godot_version}
184184
else
185-
echo "Disabling Android Editor publishing as deps/playstore_key.json doesn't exist."
185+
echo "Disabling Android Editor publishing as no valid Play Store JSON key was found."
186186
fi
187187

188188
# Godot Android library

0 commit comments

Comments
 (0)