CircleCI: fix keystore-quoting

This commit is contained in:
Felix 2019-04-30 22:33:50 +02:00
parent 6cbfbb1014
commit 4e06fd2162

View file

@ -23,7 +23,7 @@ jobs:
echo "export BUILD_TYPE_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${BUILD_TYPE:0:1}${BUILD_TYPE:1})\"" >> $BASH_ENV echo "export BUILD_TYPE_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${BUILD_TYPE:0:1}${BUILD_TYPE:1})\"" >> $BASH_ENV
echo "export FLAVOR1_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${FLAVOR1:0:1}${FLAVOR1:1})\"" >> $BASH_ENV echo "export FLAVOR1_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${FLAVOR1:0:1}${FLAVOR1:1})\"" >> $BASH_ENV
echo "export FLAVOR2_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${FLAVOR2:0:1}${FLAVOR2:1})\"" >> $BASH_ENV echo "export FLAVOR2_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${FLAVOR2:0:1}${FLAVOR2:1})\"" >> $BASH_ENV
echo $ENCODED_KEYSTORE | base64 --decode >> ${HOME}/code/keystore.jks echo "$ENCODED_KEYSTORE" | base64 --decode >> ${HOME}/code/keystore.jks
echo 'export KEYSTORE=${HOME}/code/keystore.jks' >> $BASH_ENV echo 'export KEYSTORE=${HOME}/code/keystore.jks' >> $BASH_ENV
- run: - run:
name: Download Dependencies name: Download Dependencies