We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e31bae commit 3c248c3Copy full SHA for 3c248c3
tools/actions/lint-release-proposal-commit-list.mjs
@@ -23,8 +23,9 @@ const commitListingStart = changelog.indexOf('\n### Commits\n');
23
let commitList;
24
if (commitListingStart === -1) {
25
// We're preparing a semver-major release.
26
- commitList = changelog.replace(/(^.+\n### Semver-Major|\n### Semver-(Minor|Patch)) Commits\n/gs, '')
27
- .replaceAll('**(SEMVER-MAJOR)** ', '');
+ assert.match(changelog, /\n### Semver-Major Commits\n/);
+ // The proposal should contain only the release commit.
28
+ commitList = '';
29
} else {
30
// We can't assume the Commits section is the one for this release in case of
31
// a release to transition to LTS (i.e. with no commits).
0 commit comments