Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.79 KB

File metadata and controls

36 lines (25 loc) · 1.79 KB

semantic-release-stop-before-publish

semantic-release plugin to stop semantic-release before reaching the publish step. It's like a --dry-run which still runs prepare steps.

npm downloads ci semantic-release

Step Description
prepare Causes semantic-release to exit

Install

npm install --save-dev semantic-release-stop-before-publish

OR

yarn add -D semantic-release-stop-before-publish

Usage

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 cause semantic-release to exit) all the other plugins have also executed their own prepare steps.