Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: make explicit reverting node_version.h changes
Add an explicit command to revert changes to `node_version.h` when
cherry-picking the release commit to the `master` branch.
  • Loading branch information
richardlau committed Dec 9, 2020
commit 61f69fb8ac9193c5cfcba5e2ff67263c0576ff40
8 changes: 7 additions & 1 deletion doc/guides/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,13 @@ $ git cherry-pick v1.x^
```

Git should stop to let you fix conflicts. Revert all changes that were made to
`src/node_version.h`. If there are conflicts in `doc` due to updated `REPLACEME`
`src/node_version.h`:

```console
$ git checkout --ours -- 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
not already one.
Expand Down