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 77d8197 commit 4330180Copy full SHA for 4330180
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
const commitListingEnd = changelog.indexOf('\n\n<a', commitListingStart);
31
assert.notStrictEqual(commitListingEnd, -1);
0 commit comments