Skip to content

Commit 5dce7b0

Browse files
committed
chore(ci): updated android signing config for codemagic
1 parent 27abae0 commit 5dce7b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

android/app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ android {
5858
}
5959

6060
signingConfigs {
61-
if (System.getenv("ANDROID_KEYSTORE_PATH")) {
61+
if (System.getenv("CI")) { // CI environment variables (CodeMagic)
6262
release {
63-
storeFile file(System.getenv("ANDROID_KEYSTORE_PATH"))
64-
keyAlias System.getenv("ANDROID_KEYSTORE_ALIAS")
65-
keyPassword System.getenv("ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD")
66-
storePassword System.getenv("ANDROID_KEYSTORE_PASSWORD")
63+
storeFile file(System.getenv("CM_KEYSTORE_PATH"))
64+
keyAlias System.getenv("CM_KEY_ALIAS")
65+
keyPassword System.getenv("CM_KEY_PASSWORD")
66+
storePassword System.getenv("CM_KEYSTORE_PASSWORD")
6767
}
6868
} else {
6969
release {

0 commit comments

Comments
 (0)