aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bytecodecompare
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-24 18:03:38 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-24 18:03:38 +0800
commite12b9900380780d2fb3edab21cbfabdc45ecfdfe (patch)
tree4a8ed2345cfdf6d96b35bcaf3f92d91f8c2aaa1e /scripts/bytecodecompare
parente9b106cd0e9a3ca792d8335b5c2f0fa03cf4eebc (diff)
downloaddexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar.gz
dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar.zst
dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.zip
Move COMMIT_DATE
Diffstat (limited to 'scripts/bytecodecompare')
-rwxr-xr-xscripts/bytecodecompare/storebytecode.sh6
1 files changed, 4 insertions, 2 deletions
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"