From 64c12514d9311674de926ac7d138f219a9120c24 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 1 May 2023 13:00:39 +0200 Subject: [PATCH] fix grep --- .circleci/config.yml | 2 +- apps/remix-ide/ci/download_e2e_assets.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6353a2fae4..0338a563bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: fi - run: yarn run build:e2e - - run: grep -ir "soljson-v0" apps/* libs/* > soljson-versions.txt + - run: grep -ir "soljson-v[0-9]" apps/* libs/* > soljson-versions.txt - restore_cache: keys: - soljson-{{ checksum "soljson-versions.txt" }} diff --git a/apps/remix-ide/ci/download_e2e_assets.js b/apps/remix-ide/ci/download_e2e_assets.js index 996f76134a..736d31eb2b 100644 --- a/apps/remix-ide/ci/download_e2e_assets.js +++ b/apps/remix-ide/ci/download_e2e_assets.js @@ -4,7 +4,7 @@ var child_process = require('child_process'); const axios = require('axios'); const { exit } = require('process'); -var child = child_process.spawnSync('grep', ['-ir', '"\soljson-v0"', 'libs/*', 'apps/*'], { encoding: 'utf8', cwd: process.cwd(), shell: true }); +var child = child_process.spawnSync('grep', ['-ir', '"\soljson-v[0-9]"', 'libs/*', 'apps/*'], { encoding: 'utf8', cwd: process.cwd(), shell: true }); if (child.error) { console.log("ERROR: ", child);