chore: update cli to 0.171.0-1608602762905-6aa14d3 (#165)

This commit is contained in:
Yury Semikhatsky 2020-12-22 12:03:48 -08:00 committed by GitHub
parent 077e8f6daa
commit cc2d4fa707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
0.170.0 0.171.0-1608602762905-6aa14d3

View File

@ -31,10 +31,12 @@ do
echo "Downloading driver for $PLATFORM to $(pwd)" echo "Downloading driver for $PLATFORM to $(pwd)"
URL=https://playwright.azureedge.net/builds/cli URL=https://playwright.azureedge.net/builds/cli
if [[ $CLI_VERSION == *"next"* ]]; then if ! [[ $CLI_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
URL=$URL/next URL=$URL/next
fi fi
curl -O $URL/$FILE_NAME URL=$URL/$FILE_NAME
echo "Using url: $URL"
curl -O $URL
unzip $FILE_NAME -d . unzip $FILE_NAME -d .
rm $FILE_NAME rm $FILE_NAME