From fd971f5176a49cb951af30fd4ba7352e79935801 Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Fri, 23 Sep 2022 13:33:12 -0300 Subject: [PATCH] doc: ensure to revert node_version changes PR-URL: https://github.com/nodejs/node/pull/44760 Reviewed-By: Ruy Adorno Reviewed-By: Richard Lau Reviewed-By: Myles Borins Reviewed-By: Michael Dawson Reviewed-By: Geoffrey Booth --- doc/contributing/releases.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/contributing/releases.md b/doc/contributing/releases.md index 76a4cdd5fb16a1..d6d4deee8b5d63 100644 --- a/doc/contributing/releases.md +++ b/doc/contributing/releases.md @@ -705,13 +705,17 @@ $ git pull upstream main $ git cherry-pick v1.x^ ``` -Git should stop to let you fix conflicts. Revert all changes that were made to -`src/node_version.h`: +Git should stop to let you fix conflicts. + +Revert all changes that were made to `src/node_version.h`: ```console $ git checkout --ours HEAD -- src/node_version.h ``` +Even if there are no conflicts, ensure that you revert all the changes that were +made to `src/node_version.h`. + If there are conflicts in `doc` due to updated `REPLACEME` placeholders (that happens when a change previously landed on another release branch), keep both version numbers. Convert the YAML field to an array if it is