Skip to content

Commit

Permalink
fix: auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 31, 2019
1 parent 7d70cf9 commit fd4ea55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ stages:
- name: Release
if: branch = master AND commit_message !~ /(release|no-release)/

install:
- npm config set package-lock false
- npm install

jobs:
include:
- stage: Release
before_deploy:
- git config user.email ${GITHUB_EMAIL:-"travis@travis-ci.org"}
- git config user.name ${GITHUB_USER:-"Travis CI"}
- git remote set-url origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
- git checkout master
deploy:
skip_cleanup: true
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"browser-sync": "latest",
"ci-publish": "latest",
"concurrently": "latest",
"finepack": "latest",
"git-authors-cli": "latest",
Expand Down

0 comments on commit fd4ea55

Please sign in to comment.