mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-06 23:03:24 +00:00
fix(desktop): embed version in server sidecar (#40764)
This commit is contained in:
parent
23bbc5cd14
commit
24470e52a5
2 changed files with 2 additions and 0 deletions
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
|
|
@ -322,6 +322,7 @@ jobs:
|
|||
working-directory: packages/desktop
|
||||
env:
|
||||
NODE_OPTIONS: --max-old-space-size=4096
|
||||
OPENCODE_VERSION: ${{ needs.version.outputs.version }}
|
||||
OPENCODE_CHANNEL: ${{ (github.ref_name == 'beta' && 'beta') || 'prod' }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ await Bun.build({
|
|||
external: ["jsonc-parser", "@lydell/node-pty"],
|
||||
define: {
|
||||
OPENCODE_MODELS_DEV: generated.modelsData,
|
||||
OPENCODE_VERSION: `'${Script.version}'`,
|
||||
OPENCODE_CHANNEL: `'${Script.channel}'`,
|
||||
},
|
||||
files: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue