semantic-release plugin to stop semantic-release before reaching the publish step. It's like a --dry-run
which still runs prepare
steps.
Step | Description |
---|---|
prepare |
Causes semantic-release to exit |
npm install --save-dev semantic-release-stop-before-publish
OR
yarn add -D semantic-release-stop-before-publish
The plugin can be configured in the semantic-release configuration file:
{
"plugins": ["semantic-release-stop-before-publish"]
}
Note: it should be the last plugin in your list, so that when it executes its
prepare
step (which will causesemantic-release
to exit) all the other plugins have also executed their ownprepare
steps.