semantic-release shareable config for zazen-generated projects.
npm i -D semantic-release @zazen/semantic-release
Add the following to your project’s package.json
:
{
"release": {
"extends": "@zazen/semantic-release"
}
}
npm install -g semantic-release @zazen/semantic-release
semantic-release -e @zazen/semantic-release
Variable | Description |
---|---|
GH_TOKEN or GITHUB_TOKEN |
Required. To authenticate with GitHub. |
NPM_TOKEN |
Required. To authenticate with npm. |
This shareable config uses the @semantic-release/git
,
@semantic-release/npm
, @semantic-release/changelog
, and
@semantic-release/github
plugins. See the documentation of each plugins
for additional options.