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:
Aki Mäkinen
2021-04-07 14:47:41 -07:00
committed by GitHub
parent 5489489dda
commit 72522c3570
+3 -2
View File
@@ -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:
- `verify`
- `analyzeCommits`
- `verifyConditions`
- `prepare`
- `publish`
- `success`
@@ -103,4 +104,4 @@ const { env } = context;
if (env.GITHUB_TOKEN) {
//...
}
```
```