| CLICK-EXTRA-PREBAKE-ALL(1) | CLICK-EXTRA-PREBAKE-ALL(1) |
click-extra prebake all - Pre-bake `__version__` and all git fields in one pass.
click-extra prebake all [OPTIONS]
Pre-bake `__version__` and all git fields in one pass.
Scans each target file for empty `__<field>__` dunder placeholders, resolves their values from the current Git state, and injects them.
Also appends the Git short hash to `.dev` versions in `__version__` (same as `prebake version`).
Supported git fields:
git_branch, git_long_hash, git_short_hash, git_date, git_tag
Additional computed fields (`__git_tag_sha__`, `__git_distance__`, `__git_dirty__`) are baked if their dunder placeholder exists and a git resolution is available. Fields without a placeholder in the source file are skipped silently.
Kevin Deldycke
| 2026-07-27 | 8.6.2.dev0 |