| 1234567891011121314151617 |
- #!/usr/bin/env bun
- const dir = new URL("..", import.meta.url).pathname
- process.chdir(dir)
- import { $ } from "bun"
- await import("./generate")
- const snapshot = process.env["OPENCODE_SNAPSHOT"] === "true"
- if (snapshot) {
- await $`bun publish --tag snapshot`
- }
- if (!snapshot) {
- await $`bun publish`
- }
|