Skip to content

Commit 45447e3

Browse files
committed
chore: generate
1 parent 7a3e82e commit 45447e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/opencode/script/publish.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write(
3939

4040
const tags = [Script.channel]
4141

42-
if(Bun.env.ACTIONS_RUNTIME_TOKEN) {
42+
if (Bun.env.ACTIONS_RUNTIME_TOKEN) {
4343
const { DefaultArtifactClient } = await import("@actions/artifact")
4444

45-
const artifactClient = new DefaultArtifactClient();
45+
const artifactClient = new DefaultArtifactClient()
4646

4747
for await (const folder of $`ls ./dist`.lines()) {
48-
if (!folder.startsWith("opencode-")) continue;
48+
if (!folder.startsWith("opencode-")) continue
4949

5050
const files = await Array.fromAsync(glob(`./dist/${folder}/bin/*`))
5151
await artifactClient.uploadArtifact(folder, files, process.cwd())

0 commit comments

Comments
 (0)