fix: Update Footer.js version to 1.10.0 and fix sync-version.sh regex

This commit is contained in:
Matthias Lotz 2025-11-29 17:02:40 +01:00
parent 8818d2987d
commit ec3d7ee4d0
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import React from 'react'
import './Css/Footer.css'
function Footer() {
const version = window._env_?.APP_VERSION || '1.1.0';
const version = window._env_?.APP_VERSION || '1.10.0';
return (
<footer>

View File

@ -21,7 +21,7 @@ cd ..
# 2. Footer.js Fallback aktualisieren
echo " ├─ Frontend Footer.js Fallback..."
sed -i "s/window\._env_\?\.APP_VERSION || '[0-9]\+\.[0-9]\+\.[0-9]\+'/window._env_?.APP_VERSION || '${FRONTEND_VERSION}'/" frontend/src/Components/ComponentUtils/Footer.js
sed -i "s/const version = window\._env_\?\.APP_VERSION || '[^']*'/const version = window._env_?.APP_VERSION || '${FRONTEND_VERSION}'/" frontend/src/Components/ComponentUtils/Footer.js
# 3. OpenAPI generate-openapi.js aktualisieren
echo " ├─ Backend OpenAPI Spec..."