mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 07:51:45 +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()
|
.revWalk()
|
||||||
.push(latest.id())
|
.push(latest.id())
|
||||||
.setSorting(Sort.Time & Sort.Topological)) {
|
.setSorting(Sort.Time & Sort.Topological)) {
|
||||||
|
if (oid.startsWith(oldHash)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
const commit = repo.findCommit(oid);
|
const commit = repo.findCommit(oid);
|
||||||
const summary = commit.summary();
|
const summary = commit.summary();
|
||||||
if (summary.startsWith('feat')) {
|
if (summary.startsWith('feat')) {
|
||||||
@ -106,9 +109,6 @@ for (const oid of repo
|
|||||||
} else {
|
} else {
|
||||||
commits.Misc.push(commit);
|
commits.Misc.push(commit);
|
||||||
}
|
}
|
||||||
if (oid.startsWith(oldHash)) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clipboard.setText(await formatCommits(commits));
|
clipboard.setText(await formatCommits(commits));
|
||||||
|
Loading…
Reference in New Issue
Block a user