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