From 47cab6b3df704c7fc15a4c00b9a7f0ce39b15f47 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 09:12:27 +0000 Subject: [PATCH] fix: show release type in Slack notifications --- script/publish.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/publish.ts b/script/publish.ts index 8ab9f96e95c..3ca9b355ae6 100755 --- a/script/publish.ts +++ b/script/publish.ts @@ -99,7 +99,9 @@ if (Script.release) { // 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 kind = Script.preview ? "pre-release" : "release" const flags = Script.preview ? ["--draft=false", "--prerelease"] : ["--draft=false"] + flags.push("--title", `v${Script.version} (${kind})`) const changelogPath = fileURLToPath(new URL("../packages/kilo-vscode/CHANGELOG.md", import.meta.url)) const changelog = await Bun.file(changelogPath) .text()