Skip to content

Commit 18a572b

Browse files
committed
ci: tweak
1 parent 060a62e commit 18a572b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/opencode/script/publish.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ const GOARCH: Record<string, string> = {
1818
}
1919

2020
const targets = [
21+
["windows", "x64"],
2122
["linux", "arm64"],
2223
["linux", "x64"],
2324
["linux", "x64-baseline"],
2425
["darwin", "x64"],
26+
["darwin", "x64-baseline"],
2527
["darwin", "arm64"],
26-
["windows", "x64"],
2728
]
2829

2930
await $`rm -rf dist`
@@ -51,7 +52,7 @@ for (const [os, arch] of targets) {
5152
2,
5253
),
5354
)
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}`
5556
optionalDependencies[name] = version
5657
}
5758

0 commit comments

Comments
 (0)