From 52575ce84e483db1bbcb89a937f2c0a3ffe28aa1 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Wed, 11 Mar 2020 12:46:44 +0530 Subject: [PATCH] Fix verify_tag build stage in Travis pipeline --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b41bdff422..c3cb704903 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ jobs: - stage: verify-tag python: 3.7 script: > - [ "v$(python -c 'import kubernetes ; print(kubernetes.__version__)')" == "${TRAVIS_TAG}" ] && + [ "v$(python -c 'from scripts.constants import CLIENT_VERSION; print(CLIENT_VERSION)')" == "${TRAVIS_TAG}" ] && [[ "${TRAVIS_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(([ab]|dev|rc)[0-9]+)?$ ]] - stage: test python: 2.7