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.
This commit is contained in:
Christian Duerr 2020-08-02 22:00:05 +00:00 committed by GitHub
parent 8b5787a21e
commit 1cf93dd334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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