diff options
author | chriseth <c@ethdev.com> | 2016-09-18 00:36:57 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-09-18 00:37:42 +0800 |
commit | 10c0953d0c9c47742fe32ed115a68f5da1ab2fe7 (patch) | |
tree | 267bba839f30da7dc30722aed7c6a24965e9beac /scripts | |
parent | 07538346bd92b83f2f746af51903e158d767dcbe (diff) | |
download | dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar.gz dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar.bz2 dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar.lz dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar.xz dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.tar.zst dexon-solidity-10c0953d0c9c47742fe32ed115a68f5da1ab2fe7.zip |
Do not create prerelease build for release branch.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build_emscripten.sh | 7 |
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 |