Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: fix blocksuite changelog commit range (#6791)

EYHN4751081919d1
diff --git a/tools/bump-blocksuite/index.js b/tools/bump-blocksuite/index.js
index dd0633875d..db8a216aa4 100644
--- a/tools/bump-blocksuite/index.js
+++ b/tools/bump-blocksuite/index.js
@@ -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));