$ cnpm install @peakfijn/config-release
A sharable Semantic Releases configuration for basic open source projects.
Install the dependency with npm.
$ npm install --save-dev @peakfijn/config-release
Update the package.json
to include a release property.
{
"release": {
"extends": "@peakfijn/config-release"
}
}
And make sure package.json
also contains the basic repository (git url) information.
{
"name": "<project>",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com:peakfijn/<project>.git"
}
}
After installing and configuring the package, you can use it by running this command.
$ npx semantic-release
The MIT License (MIT). Please see License File for more information.
Copyright 2014 - 2017 © taobao.org |