Skip to content

Commit

Permalink
refactor: move semantic-release entirely to Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
luftywiranda13 authored and Kent C. Dodds committed May 30, 2017
1 parent 092b719 commit 36a4438
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -10,9 +10,9 @@ node_js:
script:
- yarn start validate
after_success:
- yarn global add codecov
- yarn global add codecov semantic-release
- codecov
- yarn start release
- semantic-release pre && npm publish && semantic-release post
branches:
only:
- master
Expand Down
8 changes: 0 additions & 8 deletions package-scripts.js
Expand Up @@ -34,14 +34,6 @@ module.exports = {
description: 'lint the code with eslint',
script: 'eslint .',
},
release: {
description: 'We automate releases with semantic-release. This should only be run on travis',
script: series(
'semantic-release pre',
'npm publish',
'semantic-release post'
),
},
validate: {
description: 'This runs several scripts to make sure things look good before committing or on clean install',
script: concurrent.nps('test', 'build.andValidate'),
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -54,7 +54,6 @@
"nps-utils": "^1.1.0",
"opt-cli": "^1.5.1",
"prettier-eslint-cli": "^3.0.0",
"semantic-release": "^6.3.6",
"sinon": "^1.17.7",
"validate-commit-msg": "^2.11.1"
},
Expand Down

0 comments on commit 36a4438

Please sign in to comment.