- Create centralized version module (lib/version.ts) for backend
- Replace all hardcoded version strings (6 occurrences) with VERSION constant
- Add version sync script (scripts/sync-version.js) for CI/CD
- Update GitHub Actions to sync version from Git tag before build
- Add frontend version support via next.config.mjs env injection
- Sync frontend and backend package.json version to 5.0.12
Version source priority:
1. QCE_VERSION env var (injected by CI from Git tag)
2. package.json version field
3. Fallback to 'unknown'