fix: Update Footer.js version to 1.10.0 and fix sync-version.sh regex
This commit is contained in:
parent
8818d2987d
commit
ec3d7ee4d0
|
|
@ -3,7 +3,7 @@ import React from 'react'
|
||||||
import './Css/Footer.css'
|
import './Css/Footer.css'
|
||||||
|
|
||||||
function Footer() {
|
function Footer() {
|
||||||
const version = window._env_?.APP_VERSION || '1.1.0';
|
const version = window._env_?.APP_VERSION || '1.10.0';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<footer>
|
<footer>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ cd ..
|
||||||
|
|
||||||
# 2. Footer.js Fallback aktualisieren
|
# 2. Footer.js Fallback aktualisieren
|
||||||
echo " ├─ Frontend Footer.js Fallback..."
|
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
|
# 3. OpenAPI generate-openapi.js aktualisieren
|
||||||
echo " ├─ Backend OpenAPI Spec..."
|
echo " ├─ Backend OpenAPI Spec..."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user