Skip to content

Commit cc2d4fa

Browse files
authored
chore: update cli to 0.171.0-1608602762905-6aa14d3 (#165)
1 parent 077e8f6 commit cc2d4fa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

scripts/CLI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.170.0
1+
0.171.0-1608602762905-6aa14d3

scripts/download_driver_for_all_platforms.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ do
3131
echo "Downloading driver for $PLATFORM to $(pwd)"
3232

3333
URL=https://playwright.azureedge.net/builds/cli
34-
if [[ $CLI_VERSION == *"next"* ]]; then
34+
if ! [[ $CLI_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
3535
URL=$URL/next
3636
fi
37-
curl -O $URL/$FILE_NAME
37+
URL=$URL/$FILE_NAME
38+
echo "Using url: $URL"
39+
curl -O $URL
3840
unzip $FILE_NAME -d .
3941
rm $FILE_NAME
4042

0 commit comments

Comments
 (0)