semantic-release/README.md
2015-02-02 04:52:30 +01:00

1.1 KiB

semantic-release

Build Status Dependency Status devDependency Status

NPM

npm i semantic-release

semantic-release provides "prepublish" and "postpublish" hooks so you automatically release the correct version.

Run semantic-release pre right before npm publish and semantic-release post right after.

The post hook is automatable in package.json with a "postpublish" script:

"scripts": {
  "postpublish": "semantic-release post"
}

This is currently not possible for the "prepublish" hook. See npm/npm#7118.

MIT License 2015 Stephan Bönnemann