Dax Raad 6 luni în urmă
părinte
comite
18a572b079
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      packages/opencode/script/publish.ts

+ 3 - 2
packages/opencode/script/publish.ts

@@ -18,12 +18,13 @@ const GOARCH: Record<string, string> = {
 }
 
 const targets = [
+  ["windows", "x64"],
   ["linux", "arm64"],
   ["linux", "x64"],
   ["linux", "x64-baseline"],
   ["darwin", "x64"],
+  ["darwin", "x64-baseline"],
   ["darwin", "arm64"],
-  ["windows", "x64"],
 ]
 
 await $`rm -rf dist`
@@ -51,7 +52,7 @@ for (const [os, arch] of targets) {
       2,
     ),
   )
-  if (!dry) await $`cd dist/${name} && bun publish --access public --tag ${npmTag}`
+  if (!dry) await $`cd dist/${name} && chmod 777 -R . && bun publish --access public --tag ${npmTag}`
   optionalDependencies[name] = version
 }