Skip to content

Commit 2e9a5b0

Browse files
committed
docs: clarify local build version fallback
1 parent 87cce93 commit 2e9a5b0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,9 @@ Add the plugin to your `opencode.json` (or `opencode.jsonc`):
155155

156156
Local distributable builds are not a routine local setup step: `deno task
157157
build`
158-
requires an explicit `VERSION` via `dnt.ts`. If you already have a built
159-
artifact, add it to your `opencode.json`:
158+
uses the `VERSION` environment variable when set and otherwise falls back to the
159+
`version` in `deno.json` via `dnt.ts`. If you already have a built artifact, add
160+
it to your `opencode.json`:
160161

161162
```jsonc
162163
{

0 commit comments

Comments
 (0)