mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-11-30 02:47:41 +08:00
release-draft computes the version from origin's tags and every release, drafts included, and the version job is removed. release-undraft also checks sidecar and checksum file digests, smoke-cli hands the draft's Linux archive to a read-only smoke test, and the history fetches move before the jobs read keys.
18 lines
476 B
TypeScript
Executable File
18 lines
476 B
TypeScript
Executable File
#!/usr/bin/env bun
|
|
|
|
import { Script } from "@opencode-ai/script"
|
|
|
|
const output = [`version=${Script.version}`]
|
|
|
|
// kilocode_change - publish.yml no longer runs this script: its release-draft job
|
|
// (script/kilocode/release-draft.ts) decides the version without installing packages and creates
|
|
// the draft release.
|
|
|
|
output.push(`repo=${process.env.GH_REPO}`)
|
|
|
|
if (process.env.GITHUB_OUTPUT) {
|
|
await Bun.write(process.env.GITHUB_OUTPUT, output.join("\n"))
|
|
}
|
|
|
|
process.exit(0)
|