704 B
704 B
Installation
Local installation
For Node modules projects we recommend to install semantic-release locally and to run the semantic-release
command with a npm script:
$ npm install --save-dev semantic-release
In your package.json
:
"scripts": {
"semantic-release": "semantic-release"
}
Then in the CI environment:
$ npm run semantic-release
Global installation
For other type of projects we recommend to install semantic-release globally directly in the CI environment:
$ npm install -g semantic-release
$ semantic-release