aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-06 18:00:58 +0800
committerGitHub <noreply@github.com>2017-05-06 18:00:58 +0800
commit2f0bd377ff20d14b028acfdb6fa62bf452e1253a (patch)
tree48a8e3f3a58a067d7c7db0f03c5cf70ad551f95a
parent05a044e503bde6d15e1a301caffd5450cfa27864 (diff)
parentc29d44e37cfee94723932f299b6d1fd54c7bd820 (diff)
downloaddexon-solidity-2f0bd377ff20d14b028acfdb6fa62bf452e1253a.tar.gz
dexon-solidity-2f0bd377ff20d14b028acfdb6fa62bf452e1253a.tar.zst
dexon-solidity-2f0bd377ff20d14b028acfdb6fa62bf452e1253a.zip
Merge pull request #2236 from ethereum/shouldworkontags
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: