1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

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

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