mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 16:31:50 +00:00
ci: enable sourcemaps for beta releases
Generate linked sourcemaps when building beta releases to help users debug issues with readable stack traces.
This commit is contained in:
parent
3ef0aaf768
commit
8ba374fefa
2 changed files with 3 additions and 1 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue