diff --git a/.travis.yml b/.travis.yml index b42e83d7..1d67dbdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ jobs: on: tags: true repo: openshift/openshift-restclient-python - condition: "$TRAVIS_TAG =~ ^v[0-9]\\.[0-9]\\.[0-9](([ab]|dev|rc)[0-9])?$" + condition: "$TRAVIS_TAG =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+(([ab]|dev|rc)[0-9]+)?$" - stage: test-deploy script: python -c "import openshift ; print(openshift.__version__)" install: