summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-04-30 00:41:51 -0400
committerDax Raad <[email protected]>2026-04-30 00:42:22 -0400
commit8ba374fefa51b220ada6be5e9fac487869a3b64c (patch)
treeb94564c98cbdb2388f1fd6705a8adcc29fde8eb3 /.github
parent3ef0aaf768aa488db102454bee1df116c00f2c6f (diff)
downloadopencode-8ba374fefa51b220ada6be5e9fac487869a3b64c.tar.gz
opencode-8ba374fefa51b220ada6be5e9fac487869a3b64c.zip
ci: enable sourcemaps for beta releases
Generate linked sourcemaps when building beta releases to help users debug issues with readable stack traces.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/publish.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 6cb6af0a8..fd9b60f8b 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -88,7 +88,7 @@ jobs:
- name: Build
id: build
run: |
- ./packages/opencode/script/build.ts
+ ./packages/opencode/script/build.ts ${{ (github.ref_name == 'beta' && '--sourcemaps') || '' }}
env:
OPENCODE_VERSION: ${{ needs.version.outputs.version }}
OPENCODE_RELEASE: ${{ needs.version.outputs.release }}