Skip to content

Commit 8da7660

Browse files
authored
chore: set cli version to 0.170.0 (#140)
1 parent d91e865 commit 8da7660

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
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-next.1608058598043
1+
0.170.0

scripts/download_driver_for_all_platforms.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ do
3030
cd $PLATFORM
3131
echo "Downloading driver for $PLATFORM to $(pwd)"
3232

33-
curl -O https://playwright.azureedge.net/builds/cli/next/${FILE_NAME}
34-
unzip ${FILE_NAME} -d .
33+
URL=https://playwright.azureedge.net/builds/cli
34+
if [[ $CLI_VERSION == *"next"* ]]; then
35+
URL=$URL/next
36+
fi
37+
curl -O $URL/$FILE_NAME
38+
unzip $FILE_NAME -d .
3539
rm $FILE_NAME
3640

3741
cd -

scripts/install_local_driver.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ cd $PLATFORM
5252
FILE_NAME=$FILE_PREFIX-$PLATFORM.zip
5353
echo "Downloading driver for $PLATFORM to $(pwd)"
5454

55-
curl -O https://playwright.azureedge.net/builds/cli/next/${FILE_NAME}
55+
URL=https://playwright.azureedge.net/builds/cli
56+
if [[ $CLI_VERSION == *"next"* ]]; then
57+
URL=$URL/next
58+
fi
59+
curl -O $URL/$FILE_NAME
60+
5661
unzip ${FILE_NAME} -d .
5762
rm $FILE_NAME
5863
./playwright-cli install

0 commit comments

Comments
 (0)