Skip to content

Commit 13d84d5

Browse files
Fix stale version_name examples in BUILD.md
- Update dev build examples to current format (branch_hash) - Remove obsolete worktree-name suffix from dirty example - Correct description of dirty suffix behavior Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d2dbdab commit 13d84d5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

BUILD.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,14 @@ The script outputs a `GITHUB_AUTH_STATE` value to add to `.env`. Sessions expire
171171
Dev builds include git commit info in `version_name` (Chrome only, visible in `chrome://extensions`).
172172
Firefox does not support `version_name`; it warns about unknown manifest properties at runtime.
173173

174-
| Build Type | version_name Example |
175-
|----------------------------|-------------------------------------------|
174+
| Build Type | version_name Example |
175+
|----------------------------|--------------------------------------------|
176176
| Release (CI with tag) | `1.0.0-rc1` (from tag `v1.0.0-rc1`) |
177-
| Release (local tagged) | `1.0.0-rc1` (detected via git describe) |
178-
| Dev (clean) | `1.0.0-dev+abc1234` |
179-
| Dev (uncommitted changes) | `1.0.0-dev+abc1234-dirty:worktree-name` |
177+
| Release (local tagged) | `1.0.0-rc1` (detected via git describe) |
178+
| Dev (clean) | `1.0.0-development_abc1234` |
179+
| Dev (uncommitted changes) | `1.0.0-development_abc1234-dirty` |
180180

181-
CI release builds receive the tag name via `VERSION_TAG` environment variable. Local builds detect tags via `git describe --exact-match HEAD`. The dirty suffix includes the worktree directory name to distinguish between multiple worktrees.
181+
CI release builds receive the tag name via `VERSION_TAG` environment variable. Local builds detect tags via `git describe --exact-match HEAD`. Dev builds include the branch name and short commit hash, with a `-dirty` suffix if there are uncommitted changes to `extension/`.
182182

183183
## Dependency Information
184184

0 commit comments

Comments
 (0)