pull/3668/head^2
filip mertens 2 years ago
parent d6f56ed3d4
commit 52e34bd903
  1. 4
      .circleci/config.yml
  2. 10
      apps/remix-ide/ci/download_e2e_assets.js

@ -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

@ -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];

Loading…
Cancel
Save