From 1ea3668e96332c8ab2714d7a25da7bc3f119298a 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 1e0a369933c7e3..88c94a2c5e84f2 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^ ```