mirror of
https://github.com/LucasKalil-Programador/world-2026-hub.git
synced 2026-07-04 17:41:28 -03:00
docs: document APP_VERSION management pattern
- Single source of truth: assets/js/i18n.js line 9 - Document when to bump (after notable changes/deploys) - Document how to bump (one-liner, semantic commit) - Explain rationale (explicit versioning, audit trail)
This commit is contained in:
parent
6f67acb43f
commit
d3edfce2f2
1 changed files with 7 additions and 0 deletions
|
|
@ -505,3 +505,10 @@ Follow `how-refresh-data.md` (project root). In short:
|
||||||
|
|
||||||
- User communicates in English/Portuguese mix; docs in English per conventions.
|
- User communicates in English/Portuguese mix; docs in English per conventions.
|
||||||
- **Ask before each build step** — never chain into the next step without explicit go-ahead.
|
- **Ask before each build step** — never chain into the next step without explicit go-ahead.
|
||||||
|
|
||||||
|
### App version management (2026-06-17)
|
||||||
|
- **Single source of truth:** `assets/js/i18n.js` line 9 — `const APP_VERSION = 'v1.0.1'`
|
||||||
|
- **Footer display:** both EN and PT footers now show the version (template literals); removed "all data lives in JSON files" message
|
||||||
|
- **When to bump:** after notable feature ships (stats stages, major bugfix, schema change, deploy to production)
|
||||||
|
- **How to bump:** edit line 9, commit with `refactor(footer): bump version to vX.Y.Z`, push
|
||||||
|
- **Why:** makes versioning explicit and easy to track; enables future release notes / changelog automation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue