summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2025-12-22 08:58:16 +0000
committerGitHub Action <[email protected]>2025-12-22 08:58:16 +0000
commit45447e33361b0b4d0421c4bd00e33dacbaa2c85e (patch)
treec8e1acf5ca5dade739974a35e26ee33a7f7681bc /packages
parent7a3e82ec5d84c9c98fb0b9e8ae24e2cce28819c5 (diff)
downloadopencode-45447e33361b0b4d0421c4bd00e33dacbaa2c85e.tar.gz
opencode-45447e33361b0b4d0421c4bd00e33dacbaa2c85e.zip
chore: generate
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/opencode/script/publish.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/opencode/script/publish.ts b/packages/opencode/script/publish.ts
index c040ab7c2..c847b2827 100755
--- a/packages/opencode/script/publish.ts
+++ b/packages/opencode/script/publish.ts
@@ -39,13 +39,13 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write(
const tags = [Script.channel]
-if(Bun.env.ACTIONS_RUNTIME_TOKEN) {
+if (Bun.env.ACTIONS_RUNTIME_TOKEN) {
const { DefaultArtifactClient } = await import("@actions/artifact")
- const artifactClient = new DefaultArtifactClient();
+ const artifactClient = new DefaultArtifactClient()
for await (const folder of $`ls ./dist`.lines()) {
- if (!folder.startsWith("opencode-")) continue;
+ if (!folder.startsWith("opencode-")) continue
const files = await Array.fromAsync(glob(`./dist/${folder}/bin/*`))
await artifactClient.uploadArtifact(folder, files, process.cwd())