Skip to content

Commit

Permalink
chore(lib): Add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanglasmeyer committed Apr 8, 2016
1 parent a647a53 commit a6cda17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ notifications:
script:
- npm run validate
after_success:
- npm run report-coverage
- npm run report-coverage && npm run semantic-release
branches:
only:
- master
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "webpack-validator",
"version": "1.0.0-beta.10",
"description": "Validate your webpack config with joi",
"main": "dist",
"files": [
Expand All @@ -19,11 +18,12 @@
"watch:test": "npm run test -- -w",
"release": "npm run build && with-package git commit -am pkg.version && with-package git tag pkg.version && git push && npm publish && git push --tags",
"release:beta": "npm run release && npm run tag:beta",
"tag:beta": "with-package npm dist-tag add [email protected] beta"
"tag:beta": "with-package npm dist-tag add [email protected] beta",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jonathanewerner/webpack-validator.git"
"url": "https://github.com/jonathanewerner/webpack-validator.git"
},
"author": "Jonathan Werner <[email protected]> (http://jonathanwerner.net)",
"license": "MIT",
Expand Down Expand Up @@ -63,6 +63,7 @@
"path-parse": "1.0.5",
"power-assert": "1.3.1",
"rimraf": "2.5.2",
"semantic-release": "^4.3.5",
"sinon": "1.17.3",
"validate-commit-msg": "2.5.0",
"webpack": "1.12.14",
Expand Down

0 comments on commit a6cda17

Please sign in to comment.