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:
parent
7bebb7db9a
commit
9689af4d3a
4 changed files with 34 additions and 5 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue