aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/travis-emscripten
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-08-11 22:39:59 +0800
committerGitHub <noreply@github.com>2016-08-11 22:39:59 +0800
commitf2bec51a96ef8f26d06d171dc7566b205b35acb3 (patch)
tree12459146023fb271dd2b4c210f605eeff220bb53 /scripts/travis-emscripten
parent7c15fa661afd52f9e651e57aced5e75d744b9f62 (diff)
parentded6c67424154399686c7d1875f864c2faf6c30c (diff)
downloaddexon-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-xscripts/travis-emscripten/publish_binary.sh10
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