Do not create prerelease build for release branch.

This commit is contained in:
chriseth 2016-09-17 18:36:57 +02:00
parent 07538346bd
commit 10c0953d0c

View File

@ -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