aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-10-05 05:10:30 +0800
committerchriseth <c@ethdev.com>2016-10-05 05:10:30 +0800
commitc841eb0a9c10ac44be4f019b5fbca94a5d82a75f (patch)
tree61fe82da77f6ef2f224a56e789d530b6d334d464 /scripts
parentf52634a3391e75a00985c5d3cae9c1b9bb00952f (diff)
downloaddexon-solidity-c841eb0a9c10ac44be4f019b5fbca94a5d82a75f.tar.gz
dexon-solidity-c841eb0a9c10ac44be4f019b5fbca94a5d82a75f.tar.zst
dexon-solidity-c841eb0a9c10ac44be4f019b5fbca94a5d82a75f.zip
Fix deploy script.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-emscripten/publish_binary.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh
index 6f2d726f..e2cc1eea 100755
--- a/scripts/travis-emscripten/publish_binary.sh
+++ b/scripts/travis-emscripten/publish_binary.sh
@@ -67,6 +67,7 @@ then
fi
FULLVERSION="$VER+commit.$COMMIT"
elif [ "$TRAVIS_BRANCH" = develop ]
+then
# 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"
then
@@ -75,8 +76,8 @@ elif [ "$TRAVIS_BRANCH" = develop ]
fi
FULLVERSION="$VER-nightly.$DATE+commit.$COMMIT"
else
- echo "Not publishing, wrong branch."
- exit 0
+ echo "Not publishing, wrong branch."
+ exit 0
fi