Skip to content

Commit 1d49b3e

Browse files
committed
fix(build): Use fixed version of Chromium Canary that will be updated manually instead of automatically using the latest Chrome canary
1 parent 2830df4 commit 1d49b3e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/ci/install_chromium.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ set -e -x
88
# 3) If not available, it downloads and caches it, using the "decrement commit number" trick.
99

1010
#Build version read from the OmahaProxy CSV Viewer at https://www.chromium.org/developers/calendar
11-
#Let's use Chromium 47 as the default (352221 build number), and try to grab the latest stable from https://omahaproxy.appspot.com/all
12-
CHROMIUM_VERSION=352221
11+
#Let's use the following version of Chromium, and inform about availability of newer build from https://omahaproxy.appspot.com/all
12+
CHROMIUM_VERSION=359700
1313
TMP=$(curl -s "https://omahaproxy.appspot.com/all") || true
1414
oldIFS="$IFS"
1515
IFS='
@@ -21,7 +21,7 @@ for line in "${lines[@]}"
2121
do
2222
lineArray=($line);
2323
if [ "${lineArray[0]}" = "linux" ] && [ "${lineArray[1]}" = "stable" ] ; then
24-
CHROMIUM_VERSION="${lineArray[7]}"
24+
LATEST_CHROMIUM_VERSION="${lineArray[7]}"
2525
fi
2626
done
2727
IFS="$oldIFS"
@@ -56,4 +56,7 @@ if [[ "$EXISTING_VERSION" != "$CHROMIUM_VERSION" ]]; then
5656
echo $CHROMIUM_VERSION > $CHROMIUM_VERSION_FILE
5757
fi
5858

59+
if [[ "$CHROMIUM_VERSION" != "$LATEST_CHROMIUM_VERSION" ]]; then
60+
echo "New version of Chromium available. Update install_chromium.sh with build number: ${LATEST_CHROMIUM_VERSION}"
61+
fi
5962

0 commit comments

Comments
 (0)