More Travis deploy script fixes (#14549)
* More restricted versioning on iOS * Escape the key base64 and don't echo it back on travis * Have match not print back the cert url
This commit is contained in:
@@ -25,9 +25,11 @@ if [ -n "$TRAVIS" ]; then
|
||||
export ANDROID_HOME=`pwd`/android-sdk
|
||||
export PATH=`pwd`/android-sdk/tools/bin:$PATH
|
||||
mkdir -p /home/travis/.android # silence sdkmanager warning
|
||||
set +x # Travis's env variable hiding is a bit wonky. Don't echo back this line.
|
||||
if [ -n "$ANDROID_GALLERY_UPLOAD_KEY" ]; then
|
||||
echo $ANDROID_GALLERY_UPLOAD_KEY | base64 --decode > /home/travis/.android/debug.keystore
|
||||
echo "$ANDROID_GALLERY_UPLOAD_KEY" | base64 --decode > /home/travis/.android/debug.keystore
|
||||
fi
|
||||
set -x
|
||||
echo 'count=0' > /home/travis/.android/repositories.cfg # silence sdkmanager warning
|
||||
# suppressing output of sdkmanager to keep log under 4MB (travis limit)
|
||||
echo y | sdkmanager "tools" >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user