From 0eb35b2fa15b7d052c32c91267b3f36bcdf0732f Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 17 May 2019 14:43:09 +0200 Subject: [PATCH] Fix versions vwv.y.z --- scripts/deploy_on_k8s.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy_on_k8s.sh b/scripts/deploy_on_k8s.sh index 05156b3..40e9d81 100644 --- a/scripts/deploy_on_k8s.sh +++ b/scripts/deploy_on_k8s.sh @@ -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