From 70af1fd7b9ae0d5e9b12012eb28b579393fd7227 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 15 Sep 2023 16:15:35 +0200 Subject: [PATCH] rm file --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fdcc26cbcb..5433a7cf63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -378,7 +378,7 @@ commands: command: | google-chrome --version > version.txt VERSION=$(grep -Eo '[0-9]+\.' < version.txt | head -1) - CHROMEDRIVER_URL=$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json' | jq '.channels.Stable.downloads.chromedriver[] | select(.platform == "linux64") | .url' | tr -d '"') + # CHROMEDRIVER_URL=$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json' | jq '.channels.Stable.downloads.chromedriver[] | select(.platform == "linux64") | .url' | tr -d '"') CHROMEDRIVER_URL=$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json' | jq --arg v "$VERSION" '.versions[] | select(.version | startswith($v)) | .downloads.chromedriver[] | select(.platform == "linux64") | .url' | tail -n1 | tr -d '"') echo $CHROMEDRIVER_URL ZIPFILEPATH="/tmp/chromedriver.zip" @@ -397,6 +397,7 @@ commands: echo Removing ZIP file rm "$ZIPFILEPATH" + rm version.txt echo Done chromedriver -v