We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 060a62e commit 18a572bCopy full SHA for 18a572b
1 file changed
packages/opencode/script/publish.ts
@@ -18,12 +18,13 @@ const GOARCH: Record<string, string> = {
18
}
19
20
const targets = [
21
+ ["windows", "x64"],
22
["linux", "arm64"],
23
["linux", "x64"],
24
["linux", "x64-baseline"],
25
["darwin", "x64"],
26
+ ["darwin", "x64-baseline"],
27
["darwin", "arm64"],
- ["windows", "x64"],
28
]
29
30
await $`rm -rf dist`
@@ -51,7 +52,7 @@ for (const [os, arch] of targets) {
51
52
2,
53
),
54
)
- if (!dry) await $`cd dist/${name} && bun publish --access public --tag ${npmTag}`
55
+ if (!dry) await $`cd dist/${name} && chmod 777 -R . && bun publish --access public --tag ${npmTag}`
56
optionalDependencies[name] = version
57
58
0 commit comments