Add: Automatische Versionierung via VERSION-Datei

- VERSION-Datei als Single Source of Truth (startet bei 1.5.1)
- CI liest Version aus Datei statt hardcoded
- Patch-Version wird nach Deploy automatisch gebumpt
- Commit mit [skip ci] verhindert Endlosschleife
This commit is contained in:
Daniel 2026-03-07 14:17:27 +01:00
parent 7bebb7db9a
commit 9689af4d3a
4 changed files with 34 additions and 5 deletions

View file

@ -92,7 +92,7 @@ export default function App() {
return () => { es?.close(); clearTimeout(retryTimer); };
}, []);
const version = (import.meta as any).env?.VITE_APP_VERSION ?? '1.5.0';
const version = (import.meta as any).env?.VITE_APP_VERSION ?? 'dev';
// Listen for Electron auto-update events
useEffect(() => {