GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/script/version.ts at dev · areai51/opencode Expand file tree/ Copy pathversion.tsMore file actions executable file ·26 lines (21 loc) · 900 Bytes / Copy pathversion.tsFile metadata and controlsexecutable file ·26 lines (21 loc) · 900 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 #!/usr/bin/env bun import { Script } from "@opencode-ai/script" import { $ } from "bun" import { buildNotes, getLatestRelease } from "./changelog" const output = [`version=${Script.version}`] if (!Script.preview) { const previous = await getLatestRelease() const notes = await buildNotes(previous, "HEAD") const body = notes.join("\n") || "No notable changes" const dir = process.env.RUNNER_TEMP ?? "/tmp" const file = `${dir}/opencode-release-notes.txt` await Bun.write(file, body) await $`gh release create v${Script.version} -d --title "v${Script.version}" --notes-file ${file}` const release = await $`gh release view v${Script.version} --json tagName,databaseId`.json() output.push(`release=${release.databaseId}`) output.push(`tag=${release.tagName}`) } if (process.env.GITHUB_OUTPUT) { await Bun.write(process.env.GITHUB_OUTPUT, output.join("\n")) } process.exit(0) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |