From cef30f9afc5a7697857a6d0f5d340bb2021db9a7 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Sat, 27 Aug 2022 19:05:31 -0400 Subject: [PATCH] doc: note on release guide to update `main` branch Added an extra command to make sure to remind me (and other releasers) to update the `main` branch _before_ cherry-picking the release commit to the branch. Adding this command will often avoid unnecessary extra-work in case there are mismatches between the local state of the main branch and remote. PR-URL: https://github.com/nodejs/node/pull/44384 Reviewed-By: Richard Lau Reviewed-By: Antoine du Hamel Reviewed-By: Rafael Gonzaga Reviewed-By: Darshan Sen --- doc/contributing/releases.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/contributing/releases.md b/doc/contributing/releases.md index 0c228d92f1c9e7..fc19207e51c3d3 100644 --- a/doc/contributing/releases.md +++ b/doc/contributing/releases.md @@ -683,6 +683,7 @@ repository. ```console $ git checkout main +$ git pull upstream main $ git cherry-pick v1.x^ ```