Merge pull request #1102 from palnabarun/travis-fix

Fix verify_tag build stage in Travis pipeline
This commit is contained in:
Kubernetes Prow Robot 2020-03-11 09:51:38 -07:00 committed by GitHub
commit cef73f6dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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