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 <rlau@redhat.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
pull/44422/head
Ruy Adorno 2022-08-27 19:05:31 -04:00 committed by GitHub
parent 04cd350c79
commit 808fe9828d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -683,6 +683,7 @@ repository.
```console
$ git checkout main
$ git pull upstream main
$ git cherry-pick v1.x^
```