diff options
author | chriseth <chris@ethereum.org> | 2016-08-11 22:39:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 22:39:59 +0800 |
commit | f2bec51a96ef8f26d06d171dc7566b205b35acb3 (patch) | |
tree | 12459146023fb271dd2b4c210f605eeff220bb53 /scripts/travis-emscripten | |
parent | 7c15fa661afd52f9e651e57aced5e75d744b9f62 (diff) | |
parent | ded6c67424154399686c7d1875f864c2faf6c30c (diff) | |
download | dexon-solidity-f2bec51a96ef8f26d06d171dc7566b205b35acb3.tar.gz dexon-solidity-f2bec51a96ef8f26d06d171dc7566b205b35acb3.tar.zst dexon-solidity-f2bec51a96ef8f26d06d171dc7566b205b35acb3.zip |
Merge pull request #867 from chriseth/fixppa
Debug publishing.
Diffstat (limited to 'scripts/travis-emscripten')
-rwxr-xr-x | scripts/travis-emscripten/publish_binary.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh index f44b1210..bf30ba0c 100755 --- a/scripts/travis-emscripten/publish_binary.sh +++ b/scripts/travis-emscripten/publish_binary.sh @@ -52,11 +52,21 @@ git config user.email "chris@ethereum.org" git checkout -B gh-pages origin/gh-pages git clean -f -d -x # We only want one release per day and we do not want to push the same commit twice. +set -v +pwd +ls +ls ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js" + for f in ./bin/soljson-"$VER-$DATE"-*.js ./bin/soljson-*-"$COMMIT.js" do + ls "$f" [ -f "$f" ] && echo "Not publishing, we already published this version today." && exit 0 done +echo "Would have published." +# disable publishing for now +exit 0 + # This file is assumed to be the product of the build_emscripten.sh script. cp ../soljson.js ./bin/"soljson-$VER-$DATE-$COMMIT.js" ./update-index.sh |