Skip to content

Commit

Permalink
ci: fix travis deploy branch limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
matfax authored Feb 25, 2019
1 parent 1039724 commit 807e0ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ node_js:
branches:
only:
- master
- /^[0-9]+\.[0-9]+\.[0-9]+/

deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+

0 comments on commit 807e0ae

Please sign in to comment.