Skip to content

Commit

Permalink
Travis deploy provider uses a different syntax for conditional releas…
Browse files Browse the repository at this point in the history
…es (#7190)

Travis deploy provider uses a different syntax for conditional releases
  • Loading branch information
etimberg committed Mar 11, 2020
1 parent e22f8bd commit a7fe828
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -36,7 +36,9 @@ deploy:
- provider: script
script: ./scripts/release.sh
skip_cleanup: true
if: branch IN (release, release-3.x)
on:
all_branches: true
condition: $TRAVIS_BRANCH =~ ^(release.*)$
- provider: releases
api_key: $GITHUB_AUTH_TOKEN
skip_cleanup: true
Expand Down

0 comments on commit a7fe828

Please sign in to comment.