aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-18 00:36:57 +0800
committerchriseth <c@ethdev.com>2016-09-18 00:37:42 +0800
commit10c0953d0c9c47742fe32ed115a68f5da1ab2fe7 (patch)
tree267bba839f30da7dc30722aed7c6a24965e9beac
parent07538346bd92b83f2f746af51903e158d767dcbe (diff)
downloaddexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar.gz
dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar.zst
dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.zip
Do not create prerelease build for release branch.
-rwxr-xr-xscripts/build_emscripten.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build_emscripten.sh b/scripts/build_emscripten.sh
index fe7ea11d..9b432e95 100755
--- a/scripts/build_emscripten.sh
+++ b/scripts/build_emscripten.sh
@@ -29,7 +29,12 @@
set -e
if [[ "$OSTYPE" != "darwin"* ]]; then
- date -u +"nightly.%Y.%-m.%-d" > prerelease.txt
+ if [ "$TRAVIS_BRANCH" = release ]
+ then
+ echo -n > prerelease.txt
+ else
+ date -u +"nightly.%Y.%-m.%-d" > prerelease.txt
+ fi
./scripts/travis-emscripten/install_deps.sh
docker run -v $(pwd):/src trzeci/emscripten:sdk-tag-1.35.4-64bit ./scripts/travis-emscripten/build_emscripten.sh
fi