Skip to content

Commit

Permalink
Merge pull request #1299 from JoinColony/maint/update-version-check-s…
Browse files Browse the repository at this point in the history
…cript

Update versioning check script
  • Loading branch information
area authored Oct 2, 2024
2 parents 0137c01 + 34b3712 commit 47dd2e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/versioningCheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ fi
# Compile release
$NODE_MANAGER install
$NODE_MANAGER use
npm ci --force && npx hardhat compile
pnpm install --frozen-lockfile
npx hardhat compile
rm -rf artifacts-$LATEST_RELEASE || true
mv artifacts artifacts-$LATEST_RELEASE

Expand All @@ -36,7 +37,8 @@ git checkout $CURRENT_BRANCH
$NODE_MANAGER install
$NODE_MANAGER use
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
pnpm install --frozen-lockfile && npx hardhat compile
pnpm install --frozen-lockfile
npx hardhat compile

version_from_commit() {
COMMIT=$1;
Expand Down

0 comments on commit 47dd2e9

Please sign in to comment.