Merge pull request #96254 from raulsntos/android/keyStore.isEmpty()

[Android] Check if `keyStore` path is empty
This commit is contained in:
Rémi Verschelde 2024-08-29 10:36:49 +02:00
commit 526b35c929
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ ext {
// Return the keystore file used for signing the release build. // Return the keystore file used for signing the release build.
getGodotKeystoreFile = { -> getGodotKeystoreFile = { ->
def keyStore = System.getenv("GODOT_ANDROID_SIGN_KEYSTORE") def keyStore = System.getenv("GODOT_ANDROID_SIGN_KEYSTORE")
if (keyStore == null) { if (keyStore == null || keyStore.isEmpty()) {
return null return null
} }
return file(keyStore) return file(keyStore)