From af600f91600e11c97c6bc7432d78f0077237cd4e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 21 Aug 2023 17:06:07 +0900 Subject: [PATCH] doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc The code was changed in #48501 but the doc was missed. --- doc/contributing/releases-node-api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/contributing/releases-node-api.md b/doc/contributing/releases-node-api.md index 265c2b120e4c18..f2277b228ec0d6 100644 --- a/doc/contributing/releases-node-api.md +++ b/doc/contributing/releases-node-api.md @@ -9,7 +9,7 @@ release process. * [0. Pre-release steps](#0-pre-release-steps) * [1. Update the main branch](#1-update-the-main-branch) * [2. Create a new branch for the release](#2-create-a-new-branch-for-the-release) - * [3. Update `NAPI_VERSION`](#3-update-napi_version) + * [3. Update `NODE_API_SUPPORTED_VERSION_MAX`](#3-update-node_api_supported_version_max) * [4. Define `addon_context_register_func`](#4-define-addon_context_register_func) * [5. Update version guards](#5-update-version-guards) * [6. Create release commit](#6-create-release-commit) @@ -55,13 +55,13 @@ Create a new branch named `node-api-x-proposal`, off the main branch. git checkout -b node-api-10-proposal upstream/main ``` -### 3. Update `NAPI_VERSION` +### 3. Update `NODE_API_SUPPORTED_VERSION_MAX` Set the version for the proposed release using the following macros, which are already defined in `src/node_version.h`: ```c -#define NAPI_VERSION x +#define NODE_API_SUPPORTED_VERSION_MAX x ``` > Note: Do not update the `NAPI_VERSION` defined in `src/js_native_api.h`. It