Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/scripts/install_chrome_for_testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi

if uname -a | grep Darwin >/dev/null 2>&1; then
if [[ "$PROCESSED_CHROME_VERSION" == "latest" ]]; then
LATEST_VERSION="$(curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Mac' | jq -r ' .[0] | .version ')"
LATEST_VERSION="$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json' | jq -r '.channels.Stable.version')"
target_version="$LATEST_VERSION"
else
target_version="$PROCESSED_CHROME_VERSION"
Expand All @@ -58,7 +58,7 @@ if uname -a | grep Darwin >/dev/null 2>&1; then
fi
elif command -v apt >/dev/null 2>&1; then
if [[ "$PROCESSED_CHROME_VERSION" == "latest" ]]; then
LATEST_VERSION="$(curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Linux' | jq -r ' .[0] | .version ')"
LATEST_VERSION="$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json' | jq -r '.channels.Stable.version')"
target_version="$LATEST_VERSION"
else
target_version="$PROCESSED_CHROME_VERSION"
Expand Down