From 2a778488616bff891fd399b99d808fb9f769ff24 Mon Sep 17 00:00:00 2001 From: marius-kilocode Date: Mon, 29 Jun 2026 14:54:34 +0200 Subject: [PATCH] fix(cli): restore executable bit on opencode build scripts PR #11591 rewrote build.ts during the sandbox refactor, which recreated the file with default 644 permissions and dropped the executable bit (100755 -> 100644). The same change stripped the bit from build-node.ts and publish.ts. The pre-release publish workflow invokes ./packages/opencode/script/build.ts directly, relying on its #!/usr/bin/env bun shebang. On Linux CI the non-executable mode fails with Permission denied before the build starts. Restore mode 100755 on all three scripts. Content is unchanged. --- packages/opencode/script/build-node.ts | 0 packages/opencode/script/build.ts | 0 packages/opencode/script/publish.ts | 0 3 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 packages/opencode/script/build-node.ts mode change 100644 => 100755 packages/opencode/script/build.ts mode change 100644 => 100755 packages/opencode/script/publish.ts diff --git a/packages/opencode/script/build-node.ts b/packages/opencode/script/build-node.ts old mode 100644 new mode 100755 diff --git a/packages/opencode/script/build.ts b/packages/opencode/script/build.ts old mode 100644 new mode 100755 diff --git a/packages/opencode/script/publish.ts b/packages/opencode/script/publish.ts old mode 100644 new mode 100755