Skip to content

Commit

Permalink
chore: update semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
trs committed May 18, 2018
1 parent 825de3e commit 1a2a7cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,9 @@ jobs:
- checkout
- restore_cache:
key: npm-install-{{ checksum "package.json" }}
- run:
name: Update NPM
command: npm install semantic-release@latest
- deploy:
name: Semantic Release
command: npm run semantic-release || true
command: npx semantic-release@15

workflows:
version: 2
Expand Down Expand Up @@ -79,7 +76,7 @@ workflows:
filters:
branches:
ignore: master
- lint:
- lint:
requires:
- build
- test:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test:watch": "npm run test -- -w",
"lint": "eslint -c ./.config/eslintrc.json \"src/**/*.js\" \"test/**/*.js\" \"bin/**/*.js\"",
"lint:fix": "eslint --fix -c ./.config/eslintrc.json \"src/**/*.js\" \"test/**/*.js\" \"bin/**/*.js\"",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"commitmsg": "validate-commit-msg"
},
"release": {
Expand Down Expand Up @@ -42,7 +41,7 @@
"husky": "^0.14.3",
"mocha": "^4.0.1",
"mock-stdin": "^0.3.1",
"semantic-release": "^8.2.0",
"semantic-release": "^15.4.1",
"sinon": "^4.1.2",
"validate-commit-msg": "^2.14.0"
},
Expand Down

0 comments on commit 1a2a7cc

Please sign in to comment.