From 58336a648405df19b9eb0ee256d3703a22fefbbd Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 17:57:00 +0000 Subject: [PATCH 1/2] fix: read CHANGELOG with absolute path so release notes populate The SDK build step imported earlier in publish.ts does process.chdir into packages/sdk/js and never restores it, so the relative path to packages/kilo-vscode/CHANGELOG.md later in the release block resolved to a missing file. The read silently fell through to an empty string and the GitHub release body ended up as the 'No notable changes' default even though the CHANGELOG in the release commit had all the entries. Resolve the path relative to this script via fileURLToPath so it works regardless of cwd. --- .changeset/fix-release-notes-cwd.md | 5 +++++ script/publish.ts | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .changeset/fix-release-notes-cwd.md diff --git a/.changeset/fix-release-notes-cwd.md b/.changeset/fix-release-notes-cwd.md new file mode 100644 index 00000000000..89525ffb025 --- /dev/null +++ b/.changeset/fix-release-notes-cwd.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fix GitHub release notes showing "No notable changes" when the CHANGELOG actually had entries for the version. diff --git a/script/publish.ts b/script/publish.ts index 088ecc118d2..9cd1c65cf93 100755 --- a/script/publish.ts +++ b/script/publish.ts @@ -105,9 +105,13 @@ if (Script.release) { // kilocode_change end // kilocode_change start - mark prerelease GitHub releases accordingly - // and populate release notes from the changelog updated by changeset above + // and populate release notes from the changelog updated by changeset above. + // Use an absolute path for the CHANGELOG because the imported SDK build + // script chdirs into packages/sdk/js, so a relative path would miss the file + // and fall through to the "No notable changes" default. const flags = Script.preview ? ["--draft=false", "--prerelease"] : ["--draft=false"] - const changelog = await Bun.file("packages/kilo-vscode/CHANGELOG.md") + const changelogPath = fileURLToPath(new URL("../packages/kilo-vscode/CHANGELOG.md", import.meta.url)) + const changelog = await Bun.file(changelogPath) .text() .catch(() => "") const body = extractLatestSection(changelog) || "No notable changes" From ee7604192721ce0ad8e2159fad4ee633cd3f1595 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 18:23:50 +0000 Subject: [PATCH 2/2] chore: remove changeset, this is an infra fix not user-facing --- .changeset/fix-release-notes-cwd.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/fix-release-notes-cwd.md diff --git a/.changeset/fix-release-notes-cwd.md b/.changeset/fix-release-notes-cwd.md deleted file mode 100644 index 89525ffb025..00000000000 --- a/.changeset/fix-release-notes-cwd.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"kilo-code": patch ---- - -Fix GitHub release notes showing "No notable changes" when the CHANGELOG actually had entries for the version.