summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-08-02 06:47:21 +0200
committerChristian Duerr <contact@christianduerr.com>2020-08-02 06:47:21 +0200
commit1a448b60a1b62d38d35b4d40d0c03d39ca039eaf (patch)
treee8ba18ab168b54d3a7a4638edc9850452714c1c5
parent5c8aa679ae27390d18c2e90134f5fdfe5918c07a (diff)
Fix travis release deployment
This resolves an issue with travis release deployment where tags would cause a release deployment even if the tag did not match the `vX.Y.Z` format.
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 6e1e125f..f801c9c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,7 +56,9 @@ deploy:
on:
tags: true
rust: stable
- condition: $CLIPPY != true
+ condition:
+ - $CLIPPY != true
+ - "$TRAVIS_TAG" =~ ^v[0-9]*\.[0-9]*\.[0-9]*$
repo: alacritty/alacritty
- provider: releases
api_key:
@@ -67,5 +69,7 @@ deploy:
on:
tags: true
rust: stable-x86_64-pc-windows-msvc
- condition: $CLIPPY != true
+ condition:
+ - $CLIPPY != true
+ - "$TRAVIS_TAG" =~ ^v[0-9]*\.[0-9]*\.[0-9]*$
repo: alacritty/alacritty