Fix versions vwv.y.z

This commit is contained in:
Javier Cortejoso 2019-05-17 14:43:09 +02:00
parent a83184851c
commit 0eb35b2fa1
No known key found for this signature in database
GPG Key ID: FBEEF3131E39EBCF
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ if [ -z "${TRAVIS_TAG}" ]; then
echo "Variable \$TRAVIS_TAG not set or empty. Skiping deploying new version on k8s"
exit 0
fi
if ! [[ "${TRAVIS_TAG}" =~ ^v[0-9]\.[0-9]\.[0-9]$ ]]; then
if ! [[ "${TRAVIS_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Variable \$TRAVIS_TAG does not match with vx.y.z format. Skiping deploying new version on k8s"
exit 0
fi