From f6011444d1f89db76a370a7fa6627d6d37bc13cb Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 28 Oct 2025 18:18:45 +0100 Subject: [PATCH 1/2] tools: fix failing release-proposal linter for LTS transitions --- tools/actions/lint-release-proposal-commit-list.mjs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/actions/lint-release-proposal-commit-list.mjs b/tools/actions/lint-release-proposal-commit-list.mjs index b5104a6503e489..b619601486015c 100755 --- a/tools/actions/lint-release-proposal-commit-list.mjs +++ b/tools/actions/lint-release-proposal-commit-list.mjs @@ -26,8 +26,12 @@ if (commitListingStart === -1) { commitList = changelog.replace(/(^.+\n### Semver-Major|\n### Semver-(Minor|Patch)) Commits\n/gs, '') .replaceAll('**(SEMVER-MAJOR)** ', ''); } else { - const commitListingEnd = changelog.indexOf('\n\n<\/a>\n\n## \d+-\d+-\d+, Version \1/.exec(changelog); + assert.ok(releaseStart, 'Could not determine the start of the release section'); + const releaseEnd = changelog.indexOf('\n\n Date: Tue, 28 Oct 2025 20:34:31 +0100 Subject: [PATCH 2/2] fixup! tools: fix failing release-proposal linter for LTS transitions --- tools/actions/lint-release-proposal-commit-list.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/actions/lint-release-proposal-commit-list.mjs b/tools/actions/lint-release-proposal-commit-list.mjs index b619601486015c..a0deecc00edb1f 100755 --- a/tools/actions/lint-release-proposal-commit-list.mjs +++ b/tools/actions/lint-release-proposal-commit-list.mjs @@ -32,7 +32,7 @@ if (commitListingStart === -1) { assert.ok(releaseStart, 'Could not determine the start of the release section'); const releaseEnd = changelog.indexOf('\n\n