summaryrefslogtreecommitdiffhomepage
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/publish.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/publish.ts b/script/publish.ts
index c0f79bb9c..9b3ea450e 100755
--- a/script/publish.ts
+++ b/script/publish.ts
@@ -2,6 +2,10 @@
import { $ } from "bun"
+if (process.versions.bun !== "1.2.21") {
+ throw new Error("This script requires [email protected]")
+}
+
console.log("=== publishing ===\n")
const snapshot = process.env["OPENCODE_SNAPSHOT"] === "true"