aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-11 22:39:38 +0800
committerchriseth <c@ethdev.com>2016-08-11 22:39:38 +0800
commitded6c67424154399686c7d1875f864c2faf6c30c (patch)
tree12459146023fb271dd2b4c210f605eeff220bb53 /scripts
parent7c15fa661afd52f9e651e57aced5e75d744b9f62 (diff)
downloaddexon-solidity-ded6c67424154399686c7d1875f864c2faf6c30c.tar
dexon-solidity-ded6c67424154399686c7d1875f864c2faf6c30c.tar.gz
dexon-solidity-ded6c67424154399686c7d1875f864c2faf6c30c.tar.bz2
dexon-solidity-ded6c67424154399686c7d1875f864c2faf6c30c.tar.lz
dexon-solidity-ded6c67424154399686c7d1875f864c2faf6c30c.tar.xz
dexon-solidity-ded6c67424154399686c7d1875f864c2faf6c30c.tar.zst
dexon-solidity-ded6c67424154399686c7d1875f864c2faf6c30c.zip
Debug publishing.
Diffstat (limited to 'scripts')
-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