Skip to content

Commit

Permalink
ci: up release stage
Browse files Browse the repository at this point in the history
  • Loading branch information
allen-zh committed Aug 8, 2019
1 parent 8966799 commit 699b0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
on:
branch: master
- stage: release
if: branch = release OR (branch = master AND tag =~ ^v)
if: branch = release OR (branch =~ ^v AND tag =~ ^v)
script:
- git remote set-url origin https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
Expand Down

0 comments on commit 699b0d3

Please sign in to comment.