aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/travis-emscripten
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-18 00:17:57 +0800
committerchriseth <c@ethdev.com>2016-09-18 00:17:57 +0800
commit82ba5c9615888af52ed7e537024ad17632b23081 (patch)
treeabd205c4460c76011ee395bd9bddfe5980f792ef /scripts/travis-emscripten
parentc06ba01136e9594648a2d362f2767b967f2d0c1f (diff)
downloaddexon-solidity-82ba5c9615888af52ed7e537024ad17632b23081.tar.gz
dexon-solidity-82ba5c9615888af52ed7e537024ad17632b23081.tar.zst
dexon-solidity-82ba5c9615888af52ed7e537024ad17632b23081.zip
Fix problem that caused multiple binaries per day.
Diffstat (limited to 'scripts/travis-emscripten')
-rwxr-xr-xscripts/travis-emscripten/publish_binary.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh
index d372995c..b409ad78 100755
--- a/scripts/travis-emscripten/publish_binary.sh
+++ b/scripts/travis-emscripten/publish_binary.sh
@@ -55,7 +55,7 @@ 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.
-if ls ./bin/soljson-"$VER-nightly.$DATE"-*.js || ls ./bin/soljson-*"commit.$COMMIT.js"
+if ls ./bin/soljson-"$VER-nightly.$DATE"*.js || ls ./bin/soljson-*"commit.$COMMIT.js"
then
echo "Not publishing, we already published this version today."
exit 0