Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return to original commit before running script in check-versions #5423

Merged
merged 3 commits into from
Oct 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/protocol/scripts/bash/check-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ if [ ! -z "$REPORT" ]; then
REPORT_FLAG="--output_file "$REPORT
fi

echo " - Return to original git ref"
git checkout $ORIGINAL_GIT_REF > $LOG_FILE

# Exclude test contracts, mock contracts, contract interfaces, Proxy contracts, inlined libraries,
# MultiSig contracts, and the ReleaseGold contract.
CONTRACT_EXCLUSION_REGEX=".*Test|Mock.*|I[A-Z].*|.*Proxy|^LinkedList$|^SortedLinkedList$|^SortedLinkedListWithMedian$|MultiSig.*|ReleaseGold|FixidityLib|MetaTransactionWallet|SlasherUtil|UsingPrecompiles"
yarn ts-node scripts/check-backward.ts sem_check --old_contracts $BUILD_DIR_1/contracts --new_contracts $BUILD_DIR_2/contracts --exclude $CONTRACT_EXCLUSION_REGEX $REPORT_FLAG

echo " - Return to original git ref"
git checkout $ORIGINAL_GIT_REF > $LOG_FILE