From 1cf93dd3349966f76285a945ed4bd6f6c545773e Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sun, 2 Aug 2020 22:00:05 +0000 Subject: 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. --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.travis.yml') 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 -- cgit v1.2.3