summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-08-02 22:00:05 +0000
committerGitHub <noreply@github.com>2020-08-02 22:00:05 +0000
commit1cf93dd3349966f76285a945ed4bd6f6c545773e (patch)
treef8af2c72baee951364d639fedea3697df9c0a82b /.travis.yml
parent8b5787a21e4b89464fa1c1a8d8cea1b161cec8af (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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 6e1e125f..d4903940 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