Skip to content

Commit

Permalink
Fix quotation of ,travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
t13a committed May 31, 2020
1 parent d3a6917 commit 23f8779
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 23f8779

Please sign in to comment.