From 99dc2d376a529ac71d9dbd0662d1593c3a8635e1 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 21 Apr 2025 08:33:57 +0200 Subject: [PATCH] tools: add semver-major release support to release-lint Co-authored-by: RafaelGSS Co-authored-by: Antoine du Hamel PR-URL: https://github.com/nodejs/node/pull/57892 Reviewed-By: Rafael Gonzaga Reviewed-By: Marco Ippolito --- .../lint-release-proposal-commit-list.mjs | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/tools/actions/lint-release-proposal-commit-list.mjs b/tools/actions/lint-release-proposal-commit-list.mjs index b9745bad3c3..c0cef2dcf02 100755 --- a/tools/actions/lint-release-proposal-commit-list.mjs +++ b/tools/actions/lint-release-proposal-commit-list.mjs @@ -19,14 +19,24 @@ const stdinLineByLine = createInterface(process.stdin)[Symbol.asyncIterator](); const changelog = await readFile(CHANGELOG_PATH, 'utf-8'); const commitListingStart = changelog.indexOf('\n### Commits\n'); -const commitListingEnd = changelog.indexOf('\n\n