瀏覽代碼

core: pin downloads to v1.4.3 to ensure users get a tested, stable build instead of potentially unstable latest releases

Dax Raad 3 天之前
父節點
當前提交
ddad871b46
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/console/app/src/routes/download/[channel]/[platform].ts

+ 1 - 1
packages/console/app/src/routes/download/[channel]/[platform].ts

@@ -22,7 +22,7 @@ export async function GET({ params: { platform, channel } }: APIEvent) {
   if (!assetName) return new Response(null, { status: 404 })
 
   const resp = await fetch(
-    `https://github.com/anomalyco/${channel === "stable" ? "opencode" : "opencode-beta"}/releases/latest/download/${assetName}`,
+    `https://github.com/anomalyco/${channel === "stable" ? "opencode" : "opencode-beta"}/releases/download/v1.4.3/${assetName}`,
     {
       cf: {
         // in case gh releases has rate limits