docs(Plugin Developer Guide): Update lifecycle list (#1874)
The old list was missing analyzeCommits lifecycle and the verification lifecycle was incorrectly listed as "verify", when it should currently be "verifyConditions" in order to properly load.
This commit is contained in:
parent
5489489dda
commit
72522c3570
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
To create a plugin for `semantic-release`, you need to decide which parts of the release lifecycle are important to that plugin. For example, it is best to always have a `verify` step because you may be receiving inputs from a user and want to make sure they exist. A plugin can abide by any of the following lifecycles:
|
To create a plugin for `semantic-release`, you need to decide which parts of the release lifecycle are important to that plugin. For example, it is best to always have a `verify` step because you may be receiving inputs from a user and want to make sure they exist. A plugin can abide by any of the following lifecycles:
|
||||||
|
|
||||||
- `verify`
|
- `analyzeCommits`
|
||||||
|
- `verifyConditions`
|
||||||
- `prepare`
|
- `prepare`
|
||||||
- `publish`
|
- `publish`
|
||||||
- `success`
|
- `success`
|
||||||
@ -103,4 +104,4 @@ const { env } = context;
|
|||||||
if (env.GITHUB_TOKEN) {
|
if (env.GITHUB_TOKEN) {
|
||||||
//...
|
//...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user