GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add major version note to release guide · nodejs/node@b09c386

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/contributing
    • releases.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/contributing/releases.md‎

Copy file name to clipboardExpand all lines: doc/contributing/releases.md
+18Lines changed: 18 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,24 @@ Revert all changes that were made to `src/node_version.h`:
721721
$ git checkout --ours HEAD -- src/node_version.h
722722
```
723723

724+
<details>
725+
<summary>Major version release</summary>
726+
727+
On the main branch, instead of reverting changes made to `src/node_version.h`
728+
edit it instead and:
729+
730+
* Increment `NODE_MAJOR_VERSION` by one
731+
* Reset `NODE_PATCH_VERSION` to `0`
732+
* Change `NODE_VERSION_IS_RELEASE` back to `0`
733+
734+
Amend the current commit to apply the changes:
735+
736+
```console
737+
$ git commit --amend
738+
```
739+
740+
</details>
741+
724742
Even if there are no conflicts, ensure that you revert all the changes that were
725743
made to `src/node_version.h`.
726744

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.