This commit is contained in:
parent
3a048661e8
commit
abfea9226a
|
@ -105,11 +105,13 @@ android {
|
|||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file(System.getenv("KEYSTORE"))
|
||||
storePassword System.getenv("KEYSTORE_PASSWORD")
|
||||
keyAlias System.getenv("KEY_ALIAS")
|
||||
keyPassword System.getenv("KEY_PASSWORD")
|
||||
}
|
||||
if (project.hasProperty('KEYSTORE')) {
|
||||
storeFile file(KEYSTORE)
|
||||
storePassword KEYSTORE_PASSWORD
|
||||
keyAlias KEY_ALIAS
|
||||
keyPassword KEY_PASSWORD
|
||||
}
|
||||
}
|
||||
}
|
||||
splits {
|
||||
abi {
|
||||
|
|
|
@ -10,8 +10,8 @@ dependencies:
|
|||
pre:
|
||||
# Install YARN
|
||||
- node -v
|
||||
- echo $KEYSTORE_BASE64 | base64 --decode | tee -a "./android/app/$KEYSTORE"
|
||||
- echo -e "KEYSTORE=$KEYSTORE" > ./android/gradle.properties
|
||||
- echo $KEYSTORE_BASE64 | base64 --decode > ./android/app/rocketchat-rn.keystore
|
||||
- echo -e "KEYSTORE=$KEYSTORE" >> ./android/gradle.properties
|
||||
- echo -e "KEYSTORE_PASSWORD=$KEYSTORE_PASSWORD" >> ./android/gradle.properties
|
||||
- echo -e "KEY_ALIAS=$KEY_ALIAS" >> ./android/gradle.properties
|
||||
- echo -e "KEY_PASSWORD=$KEYSTORE_PASSWORD" >> ./android/gradle.properties
|
||||
|
|
Loading…
Reference in New Issue