Skip to content

Commit 5d7d447

Browse files
committed
Only run semantic-release on master branch
As this is an NPM module, the master branch is where we do releases. Running semantic-release anywhere else just wastes time on TravisCI.
1 parent 063ac31 commit 5d7d447

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ jobs:
1919
- stage: release
2020
node_js: 10
2121
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
22+
if: branch = master

0 commit comments

Comments
 (0)