fix: show release type in Slack notifications

This commit is contained in:
kiloconnect[bot]
2026-05-05 09:12:27 +00:00
parent 8fcc77a2ae
commit 47cab6b3df
+2
View File
@@ -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()