chore(): generate correct change log (#20888)
This commit is contained in:
parent
8a161f053f
commit
9b534bd43f
|
@ -100,7 +100,7 @@ function findChangelog() {
|
|||
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
const line = lines[i];
|
||||
if (line.startsWith('# [')) {
|
||||
if (line.startsWith('## [') || line.startsWith('# [')) {
|
||||
if (start === -1) {
|
||||
start = i + 1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue