Skip to content

Commit b6f9d47

Browse files
committed
ci(travis): only execute after_success script on branch master
1 parent 043aa66 commit b6f9d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ notifications:
77
node_js: '8'
88
install: npm install
99
script: npm run validate
10-
after_success: npx semantic-release
10+
after_success: test $TRAVIS_BRANCH = "master" && npx semantic-release
1111
branches:
1212
only:
1313
- develop

0 commit comments

Comments
 (0)