Skip to content

Commit

Permalink
Merge pull request #1098 from JoinColony/maint/versioning-check
Browse files Browse the repository at this point in the history
Update versioning check script
  • Loading branch information
area authored Oct 25, 2022
2 parents d7fb7bc + 215af99 commit da88c28
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/versioningCheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '{}' +
Expand Down Expand Up @@ -147,4 +144,4 @@ do

done

exit $STATUS
exit $STATUS

0 comments on commit da88c28

Please sign in to comment.