From 06159aa254e662514d1c6f4de13fbac805984232 Mon Sep 17 00:00:00 2001 From: fisker Date: Sun, 28 Jun 2026 06:40:45 +0800 Subject: [PATCH] Fix bug in release script --- scripts/changelog-for-patch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/changelog-for-patch.js b/scripts/changelog-for-patch.js index 048bc7fb3..560bb1dd4 100644 --- a/scripts/changelog-for-patch.js +++ b/scripts/changelog-for-patch.js @@ -18,7 +18,7 @@ const entries = fs .readdirSync(changelogUnreleasedDirectory, { withFileTypes: true }) .filter((entry) => entry.isDirectory()) .flatMap((dir) => { - const dirPath = path.join(dir.path, dir.name); + const dirPath = path.join(dir.parentPath, dir.name); const { title } = categories.find((category) => category.dir === dir.name); return getEntries(dirPath).map((entry) => {