Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .specgit.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 1
delivery: add-mcp-dual
delivery: ad-hoc-sign
context:
kind: branch
branch: test/452-add-mcp-dual
branch: fix/454-ad-hoc-sign
issues:
- 452
pr: 453
- 454
pr: 455
5 changes: 5 additions & 0 deletions packages/opencode/script/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ for (const item of targets) {
},
})

// macOS kills freshly compiled unsigned darwin binaries (SIGKILL 137) before they can run
if (process.platform === "darwin" && item.os === "darwin" && fs.existsSync("/usr/bin/codesign")) {
await $`codesign --force --sign - dist/${name}/bin/opencode`
}

// Smoke test: only run if binary is for current platform
if (item.os === process.platform && item.arch === process.arch && !item.abi) {
const binaryPath = `dist/${name}/bin/opencode`
Expand Down
Loading