Octorelease sample plugin.
Step | Description |
---|---|
init |
Validate plugin configuration. |
version |
Print hello message if project version has changed. |
publish |
Add already published package to list of released packages. |
success |
Print happy message. |
fail |
Print sad message. |
$ npm install @octorelease/sample-plugin -D
The plugin can be configured in the Octorelease configuration file:
{
"plugins": [
["@octorelease/sample-plugin", {
"name": "world"
}]
]
}
Options | Description | Default |
---|---|---|
name |
Name to say hello to. | (required) |