aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-05 02:01:33 +0800
committerchriseth <chris@ethereum.org>2017-05-05 20:23:18 +0800
commitc29d44e37cfee94723932f299b6d1fd54c7bd820 (patch)
tree48a8e3f3a58a067d7c7db0f03c5cf70ad551f95a
parent05a044e503bde6d15e1a301caffd5450cfa27864 (diff)
downloaddexon-solidity-c29d44e37cfee94723932f299b6d1fd54c7bd820.tar.gz
dexon-solidity-c29d44e37cfee94723932f299b6d1fd54c7bd820.tar.zst
dexon-solidity-c29d44e37cfee94723932f299b6d1fd54c7bd820.zip
Also create empty prerelease.txt for tags.
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index d947707c..a7b3f5be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -180,7 +180,7 @@ cache:
install:
- test $SOLC_INSTALL_DEPS_TRAVIS != On || (scripts/install_deps.sh)
- test "$TRAVIS_OS_NAME" != "linux" || (scripts/install_cmake.sh)
- - if [ "$TRAVIS_BRANCH" = release ]; then echo -n > prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" > prerelease.txt; fi
+ - if [ "$TRAVIS_BRANCH" = release -o -n "$TRAVIS_TAG" ]; then echo -n > prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" > prerelease.txt; fi
- echo -n "$TRAVIS_COMMIT" > commit_hash.txt
before_script: