From 8ef0130f001c6ea59426606f7e6401cb331b2a2a Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Sat, 17 Apr 2021 17:23:06 -0400 Subject: [PATCH] =?UTF-8?q?Update=20docs=20for=20"afterAddToChangelog"=20?= =?UTF-8?q?=E2=86=92=20"afterChangelog"=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/pages/docs/plugins/release-lifecycle-hooks.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/docs/plugins/release-lifecycle-hooks.mdx b/docs/pages/docs/plugins/release-lifecycle-hooks.mdx index d6f1d869e..4d77ea5be 100644 --- a/docs/pages/docs/plugins/release-lifecycle-hooks.mdx +++ b/docs/pages/docs/plugins/release-lifecycle-hooks.mdx @@ -71,7 +71,7 @@ _Other examples:_ - In Core: Create major version branches when `major` happens - [npm](../generated/npm) - Create sub-package changelogs -## afterAddToChangelog +## afterChangelog Ran after the `changelog` command adds the new release notes to `CHANGELOG.md`. Useful for getting extra commits into a release before publishing. @@ -83,7 +83,7 @@ Useful for getting extra commits into a release before publishing. - `releaseNotes` - generated release notes for the release ```ts -auto.hooks.afterAddToChangelog.tap( +auto.hooks.afterChangelog.tap( "MyPlugin", async ({ currentVersion, commits, releaseNotes, lastRelease }) => { // do something