Skip to content

Commit

Permalink
Only run semantic-release on master branch
Browse files Browse the repository at this point in the history
As this is an NPM module, the master branch is where we do releases.
Running semantic-release anywhere else just wastes time on TravisCI.
  • Loading branch information
orangejulius committed Sep 1, 2018
1 parent a8b9af6 commit f473a0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
- stage: release
node_js: 10
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
if: branch = master

0 comments on commit f473a0e

Please sign in to comment.