manual versions

pull/3668/head^2
filip mertens 2 years ago
parent 9462f7a168
commit 45010a7bec
  1. 2
      .circleci/config.yml
  2. 10
      apps/remix-ide/ci/download_e2e_assets.js

@ -34,7 +34,7 @@ jobs:
fi
- run: yarn run build:e2e
- run: grep -ir "soljson-v[0-9]" apps/* libs/* > soljson-versions.txt
- run: grep -ir "[0-9]+commit" apps/* libs/* --include \*.ts > soljson-versions.txt
- restore_cache:
keys:
- soljson-cache-{{ checksum "soljson-versions.txt" }}

@ -3,7 +3,7 @@ const fs = require('fs');
var child_process = require('child_process');
const { exit } = require('process');
var child = child_process.spawnSync('grep', ['-ir', '"soljson-v[0-9]"', 'libs/*', 'apps/*'], { encoding: 'utf8', cwd: process.cwd(), shell: true });
var child = child_process.spawnSync('grep', ['-ir', '[0-9]+commit', 'libs/**/*', 'apps/**/*', '--include', '\*.ts'], { encoding: 'utf8', cwd: process.cwd(), shell: true });
if (child.error) {
console.log("ERROR: ", child);
@ -17,6 +17,11 @@ 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('soljson-v0.6.8+commit.0bbfe453.js');
soljson.push('soljson-v0.6.0+commit.26b70077.js');
for (let i = 0; i < soljson.length; i++) {
const version = soljson[i];
if (version) {
@ -49,7 +54,8 @@ if (soljson) {
}
}
}
}

Loading…
Cancel
Save