1 Commits

Author SHA1 Message Date
速冻饺子
8f7ad9513f feat: unified version management across frontend and backend (#228)
- 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'
2026-01-03 05:21:52 -08:00