From 54313137040c7508b48107ec24abb65849b587ad Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 1 May 2023 17:32:27 +0200 Subject: [PATCH] fix urls --- .circleci/config.yml | 4 ++-- apps/remix-ide/ci/download_e2e_assets.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 75fbb11323..e1b341b551 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,10 +37,10 @@ jobs: - run: grep -ir "[0-9]+commit" apps/* libs/* --include \*.ts > soljson-versions.txt - restore_cache: keys: - - soljson-v3-{{ checksum "soljson-versions.txt" }} + - soljson-v4-{{ checksum "soljson-versions.txt" }} - run: yarn run downloadsolc_assets_e2e - save_cache: - key: soljson-v3-{{ checksum "soljson-versions.txt" }} + key: soljson-v4-{{ checksum "soljson-versions.txt" }} paths: - dist/apps/remix-ide/assets/js/soljson diff --git a/apps/remix-ide/ci/download_e2e_assets.js b/apps/remix-ide/ci/download_e2e_assets.js index ffc39956e9..8fe2dc41ac 100644 --- a/apps/remix-ide/ci/download_e2e_assets.js +++ b/apps/remix-ide/ci/download_e2e_assets.js @@ -10,8 +10,6 @@ if (child.error) { exit(1); } -console.log('stdout here: \n' + child.stdout) - const re = /(?<=soljson).*(?=(.js))/g; let soljson = child.stdout.match(re); @@ -26,11 +24,13 @@ soljson = soljson.concat(soljson2); if (soljson) { // filter out duplicates //soljson = soljson.filter((item, index) => soljson.indexOf(item) === index); - console.log('soljson versions found: ', soljson); + // manually add some versions - soljson.push('-v0.6.8+commit.0bbfe453.js'); - soljson.push('-v0.6.0+commit.26b70077.js'); + soljson.push('-v0.6.8+commit.0bbfe453'); + soljson.push('-v0.6.0+commit.26b70077'); + + console.log('soljson versions found: ', soljson); for (let i = 0; i < soljson.length; i++) { const version = soljson[i];