From 23efce4d37710f67d5695a0a3a390a4d0d4b7eae Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Fri, 23 Sep 2022 17:00:49 -0300 Subject: [PATCH] doc: mention git node backport --- doc/contributing/releases.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/contributing/releases.md b/doc/contributing/releases.md index 76a4cdd5fb16a1..cca5e539241c42 100644 --- a/doc/contributing/releases.md +++ b/doc/contributing/releases.md @@ -166,6 +166,13 @@ When landing the PR add the `Backport-PR-URL:` line to each commit. Close the backport PR with `Landed in ...`. Update the label on the original PR from `backport-requested-vN.x` to `backported-to-vN.x`. +You can add the `Backport-PR-URL` metadata by using `--backport` with +`git node land` + +```console +$ git node land --backport $PR-NUMBER +``` + To determine the relevant commits, use [`branch-diff`](https://github.com/nodejs/branch-diff). The tool is available on npm and should be installed globally or run with `npx`. It depends on our commit