diff --git a/.travis.yml b/.travis.yml index d4f84dc..f052087 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,11 @@ services: script: - make -- echo "TRAVIS_BRANCH=${TRAVIS_BRANCH}" -- echo "TRAVIS_TAG=${TRAVIS_TAG}" +- 'echo TRAVIS_BRANCH="${TRAVIS_BRANCH}"' +- 'echo TRAVIS_TAG="${TRAVIS_TAG}"' before_deploy: -- export TRAVIS_TAG="${TRAVIS_TAG:-${TRAVIS_BRANCH}}" +- 'export "TRAVIS_TAG=${TRAVIS_TAG:-${TRAVIS_BRANCH}}"' deploy: provider: releases @@ -20,5 +20,5 @@ deploy: skip_cleanup: true on: all_branches: true - condition: "${TRAVIS_TAG:-${TRAVIS_BRANCH}}" =~ ^v[0-9] + condition: '"${TRAVIS_TAG:-${TRAVIS_BRANCH}}" =~ ^v[0-9]' overwrite: true