diff --git a/scripts/release.mjs b/scripts/release.mjs index ae9f661dd..b5d1bc9f6 100755 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -173,14 +173,23 @@ if (headerIdx === -1) { // went out carrying v4.0.0's notes that way, and nothing failed. A mismatch // now stops the release instead of publishing another version's words. const articleEnd = changelogHtml.indexOf('', headerIdx); -const listStart = changelogHtml.indexOf('', listStart); -if (listStart === -1 || listEnd === -1) fail('Changelog entry markup is malformed.'); -if (articleEnd !== -1 && listStart > articleEnd) { - fail(`The changelog entry for "${cfg.changelogLabel}${version}" has no