From c6148d5b14197533e83285ef34b68f1ec09c0be0 Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Thu, 10 Apr 2025 17:54:45 -0300 Subject: [PATCH] tools: add semver-major release support to release-lint Co-authored-by: RafaelGSS Co-authored-by: Antoine du Hamel --- .../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 b9745bad3c30c1..c0cef2dcf02e60 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