Merge pull request #9895 from Kilo-Org/mark/release-slack-prerelease-status

fix: show release type in Slack notifications
This commit is contained in:
Mark IJbema
2026-05-05 12:15:27 +02:00
committed by GitHub
+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()