From eb196fd64f073606f6a2ffa559ed7744382fbf9c Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 25 Oct 2023 00:51:52 +0200 Subject: [PATCH] src: fix node_version.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix the version for main branch as 22.0.0 - Fix the NODE_VERSION_IS_RELEASE flag for the main branch This would allow test/parallel/test-release-changelog.js to pass again on the main branch. PR-URL: https://github.com/nodejs/node/pull/50375 Fixes: https://github.com/nodejs/node/issues/50373 Reviewed-By: Michaƫl Zasso Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca --- src/node_version.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_version.h b/src/node_version.h index ae869e02ab848f..e75d3464e97331 100644 --- a/src/node_version.h +++ b/src/node_version.h @@ -22,14 +22,14 @@ #ifndef SRC_NODE_VERSION_H_ #define SRC_NODE_VERSION_H_ -#define NODE_MAJOR_VERSION 21 +#define NODE_MAJOR_VERSION 22 #define NODE_MINOR_VERSION 0 #define NODE_PATCH_VERSION 0 #define NODE_VERSION_IS_LTS 0 #define NODE_VERSION_LTS_CODENAME "" -#define NODE_VERSION_IS_RELEASE 1 +#define NODE_VERSION_IS_RELEASE 0 #ifndef NODE_STRINGIFY #define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)