From 1d49b3e36bdea3731a6184747c25d344e8bca308 Mon Sep 17 00:00:00 2001 From: Vikram Subramanian Date: Wed, 2 Mar 2016 15:35:07 -0800 Subject: [PATCH] fix(build): Use fixed version of Chromium Canary that will be updated manually instead of automatically using the latest Chrome canary --- scripts/ci/install_chromium.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/ci/install_chromium.sh b/scripts/ci/install_chromium.sh index d59f3df5ed..206c6b5f4b 100755 --- a/scripts/ci/install_chromium.sh +++ b/scripts/ci/install_chromium.sh @@ -8,8 +8,8 @@ set -e -x # 3) If not available, it downloads and caches it, using the "decrement commit number" trick. #Build version read from the OmahaProxy CSV Viewer at https://www.chromium.org/developers/calendar -#Let's use Chromium 47 as the default (352221 build number), and try to grab the latest stable from https://omahaproxy.appspot.com/all -CHROMIUM_VERSION=352221 +#Let's use the following version of Chromium, and inform about availability of newer build from https://omahaproxy.appspot.com/all +CHROMIUM_VERSION=359700 TMP=$(curl -s "https://omahaproxy.appspot.com/all") || true oldIFS="$IFS" IFS=' @@ -21,7 +21,7 @@ for line in "${lines[@]}" do lineArray=($line); if [ "${lineArray[0]}" = "linux" ] && [ "${lineArray[1]}" = "stable" ] ; then - CHROMIUM_VERSION="${lineArray[7]}" + LATEST_CHROMIUM_VERSION="${lineArray[7]}" fi done IFS="$oldIFS" @@ -56,4 +56,7 @@ if [[ "$EXISTING_VERSION" != "$CHROMIUM_VERSION" ]]; then echo $CHROMIUM_VERSION > $CHROMIUM_VERSION_FILE fi +if [[ "$CHROMIUM_VERSION" != "$LATEST_CHROMIUM_VERSION" ]]; then + echo "New version of Chromium available. Update install_chromium.sh with build number: ${LATEST_CHROMIUM_VERSION}" +fi