Files
Igor Šćekić 52bd0f4914 ci: decide the version in release-draft only and fetch the smoke test archive without installs
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.
2026-11-27 19:42:17 +01:00

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)