Skip to content

Commit 938f382

Browse files
committed
ci: up release stage
1 parent 87662a3 commit 938f382

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ jobs:
1717
on:
1818
branch: master
1919
- stage: release
20-
if: branch = release
20+
if: branch = release OR (branch = master AND commit_message =~ /^[release]:/)
2121
script:
2222
- git remote set-url origin https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
2323
- git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
24+
- git config user.email [email protected]
2425
- git fetch --all
2526
- git checkout master
2627
# before_deploy:

0 commit comments

Comments
 (0)