CircleCI: define keystore-variable

This commit is contained in:
Felix 2019-05-01 18:14:48 +02:00
parent 482878c1a9
commit 614fc0b071

View file

@ -23,13 +23,14 @@ jobs:
echo "export STAGE_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${STAGE:0:1}${STAGE:1})\"" >> $BASH_ENV
echo "export LIBS_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${LIBS:0:1}${LIBS:1})\"" >> $BASH_ENV
echo "$ENCODED_KEYSTORE" | base64 --decode >> ${HOME}/code/keystore.jks
echo 'export KEYSTORE=${HOME}/code/keystore.jks' >> $BASH_ENV
KEYSTORE=${HOME}/code/keystore.jks
echo > gradle.properties
echo "chaosflixKeystore=$KEYSTORE" >> gradle.properties
echo "chaosflixStorePassword=$KEYSTORE_PASSWORD" >> gradle.properties
echo "chaosflixKeyName=$KEY_NAME" >> gradle.properties
echo "chaosflixKeyPassword=$KEYSTORE_PASSWORD" >> gradle.properties
echo "appcenterId=$APPCENTER_ID" >> gradle.properties
# echo 'export KEYSTORE=${HOME}/code/keystore.jks' >> $BASH_ENV
# echo "export SIGN_CONFIG=\"-PchaosflixKeystore=$KEYSTORE -PchaosflixStorePassword=$KEYSTORE_PASSWORD -PchaosflixKeyName=$KEY_NAME -PchaosflixKeyPassword=$KEYSTORE_PASSWORD -PAPPCENTER_ID=$APPCENTER_ID\""
- run:
name: Download Dependencies