From 08f48c2eb5971194f48cc5322ae4e5eeb6392409 Mon Sep 17 00:00:00 2001 From: Joy A Date: Mon, 18 Sep 2023 17:17:20 +0530 Subject: [PATCH] #1028, #1096 | Use lower case flavor name for key specific env vars for all flavors (cherry picked from commit e0acbe6b11056c1ca5a1c95b4f3d5bdc53394dc9) --- .../openchs-android/android/app/build.gradle | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/openchs-android/android/app/build.gradle b/packages/openchs-android/android/app/build.gradle index 3ce2534a9..41809285d 100644 --- a/packages/openchs-android/android/app/build.gradle +++ b/packages/openchs-android/android/app/build.gradle @@ -128,22 +128,22 @@ android { } lfe { storeFile file("${System.getenv("KEY_STORE_PREFIX") ?: ""}lfe-release-key.keystore") - storePassword System.getenv("LFE_KEYSTORE_PASSWORD") - keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}${System.getenv("LFE_KEY_ALIAS")}" - keyPassword System.getenv("LFE_KEY_PASSWORD") + storePassword System.getenv("lfe_KEYSTORE_PASSWORD") + keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}${System.getenv("lfe_KEY_ALIAS")}" + keyPassword System.getenv("lfe_KEY_PASSWORD") enableV1Signing false } lfeTeachNagaland { storeFile file("${System.getenv("KEY_STORE_PREFIX") ?: ""}lfeTeachNagaland-release-key.keystore") - storePassword System.getenv("LFETEACHNAGALAND_KEYSTORE_PASSWORD") - keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}${System.getenv("LFETEACHNAGALAND_KEY_ALIAS")}" - keyPassword System.getenv("LFETEACHNAGALAND_KEY_PASSWORD") + storePassword System.getenv("lfeTeachNagaland_KEYSTORE_PASSWORD") + keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}${System.getenv("lfeTeachNagaland_KEY_ALIAS")}" + keyPassword System.getenv("lfeTeachNagaland_KEY_PASSWORD") } sakhi { storeFile file("${System.getenv("KEY_STORE_PREFIX") ?: ""}sakhi-release-key.keystore") - storePassword System.getenv("SAKHI_KEYSTORE_PASSWORD") - keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}${System.getenv("SAKHI_KEY_ALIAS")}" - keyPassword System.getenv("SAKHI_KEY_PASSWORD") + storePassword System.getenv("sakhi_KEYSTORE_PASSWORD") + keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}${System.getenv("sakhi_KEY_ALIAS")}" + keyPassword System.getenv("sakhi_KEY_PASSWORD") enableV1Signing false } }