Skip to content

Commit

Permalink
Move COMMIT_DATE
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed May 24, 2017
1 parent e9b106c commit e12b990
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/bytecodecompare/storebytecode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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 [email protected]:ethereum/solidity-test-bytecode.git
cd solidity-test-bytecode
git config user.name "travis"
Expand Down

0 comments on commit e12b990

Please sign in to comment.