From 215af993dfc211cbdee7e393977b020f43d3a6b9 Mon Sep 17 00:00:00 2001 From: Alex Rea Date: Tue, 25 Oct 2022 11:36:29 +0100 Subject: [PATCH] Update versioning check script --- scripts/versioningCheck.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/versioningCheck.sh b/scripts/versioningCheck.sh index 335100f936..e6b6b6555f 100644 --- a/scripts/versioningCheck.sh +++ b/scripts/versioningCheck.sh @@ -8,13 +8,10 @@ git checkout $LATEST_RELEASE # Compile release -npm i --force && npx truffle compile +npm ci --force && npx truffle compile rm -rf build-$LATEST_RELEASE || true mv build build-$LATEST_RELEASE -git checkout yarn.lock -rm package-lock.json - # Compile current commit git checkout $CURRENT_BRANCH find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + @@ -147,4 +144,4 @@ do done -exit $STATUS \ No newline at end of file +exit $STATUS