24 lines
920 B
Markdown
24 lines
920 B
Markdown
# semantic-release
|
|
[](https://travis-ci.org/boennemann/semantic-release)
|
|
[](https://david-dm.org/boennemann/semantic-release)
|
|
[](https://david-dm.org/boennemann/semantic-release#info=devDependencies)
|
|
|
|
[](https://nodei.co/npm/semantic-release/)
|
|
|
|
```bash
|
|
npm i semantic-release
|
|
```
|
|
|
|
`semantic-release` provides "prepublish" and "postpublish" hooks so you automatically release the correct version.
|
|
|
|
Add this to your `package.json` for maximum comfort:
|
|
```json
|
|
"scripts": {
|
|
"prepublish": "semantic-release pre",
|
|
"postpublish": "semantic-release post"
|
|
}
|
|
```
|
|
|
|
MIT License
|
|
2015 Stephan Bönnemann
|