From e12b9900380780d2fb3edab21cbfabdc45ecfdfe Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 24 May 2017 11:03:38 +0100 Subject: Move COMMIT_DATE --- scripts/bytecodecompare/storebytecode.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh index b3491cfa..057eaf0c 100755 --- a/scripts/bytecodecompare/storebytecode.sh +++ b/scripts/bytecodecompare/storebytecode.sh @@ -34,6 +34,10 @@ TMPDIR=$(mktemp -d) ( cd "$REPO_ROOT" REPO_ROOT=$(pwd) # make it absolute + + echo "Running for commit $TRAVIS_COMMIT" + COMMIT_DATE=$(git show -s --format="%cd" --date=short "$TRAVIS_COMMIT") + cd "$TMPDIR" "$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/ @@ -87,8 +91,6 @@ EOF eval `ssh-agent -s` ssh-add deploy_key - COMMIT_DATE=$(cd "$REPO_ROOT" && git show -s --format="%cd" --date=short "$TRAVIS_COMMIT") - git clone --depth 2 git@github.com:ethereum/solidity-test-bytecode.git cd solidity-test-bytecode git config user.name "travis" -- cgit