diff options
author | chriseth <chris@ethereum.org> | 2016-10-10 20:29:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 20:29:31 +0800 |
commit | 119bd4addc20498d41d92109e1332a37e6fcd2d8 (patch) | |
tree | a1190b739a8ac7a775dd13b601e1757fd219139b | |
parent | 8572664ac2e955cc08b665f645ad4b1cd964584b (diff) | |
parent | c841eb0a9c10ac44be4f019b5fbca94a5d82a75f (diff) | |
download | dexon-solidity-119bd4addc20498d41d92109e1332a37e6fcd2d8.tar.gz dexon-solidity-119bd4addc20498d41d92109e1332a37e6fcd2d8.tar.zst dexon-solidity-119bd4addc20498d41d92109e1332a37e6fcd2d8.zip |
Merge pull request #1148 from ethereum/fixdeploy
Fix deploy script.
-rwxr-xr-x | scripts/travis-emscripten/publish_binary.sh | 5 |
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 |