Fix verify_tag build stage in Travis pipeline

This commit is contained in:
Nabarun Pal 2020-03-11 12:46:44 +05:30
parent cbf95cf61e
commit 52575ce84e
No known key found for this signature in database
GPG Key ID: 611D5079D826B150

View File

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