mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-09-11 11:47:00 +03:00
chore: fix blocksuite changelog commit range (#6791)
This commit is contained in:
parent
ee9e8bf56c
commit
4751081919
@ -95,6 +95,9 @@ for (const oid of repo
|
||||
.revWalk()
|
||||
.push(latest.id())
|
||||
.setSorting(Sort.Time & Sort.Topological)) {
|
||||
if (oid.startsWith(oldHash)) {
|
||||
break;
|
||||
}
|
||||
const commit = repo.findCommit(oid);
|
||||
const summary = commit.summary();
|
||||
if (summary.startsWith('feat')) {
|
||||
@ -106,9 +109,6 @@ for (const oid of repo
|
||||
} else {
|
||||
commits.Misc.push(commit);
|
||||
}
|
||||
if (oid.startsWith(oldHash)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
clipboard.setText(await formatCommits(commits));
|
||||
|
Loading…
Reference in New Issue
Block a user