feat: Versionsanzeige (VERSION-Datei, Footer, /api/version, Image-Tag)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 14:57:49 +02:00
parent 87f8bbc400
commit 82f278ca00
9 changed files with 36 additions and 2 deletions

9
finance/app/version.py Normal file
View File

@@ -0,0 +1,9 @@
from pathlib import Path
def get_version() -> str:
f = Path(__file__).resolve().parent.parent / "VERSION"
try:
return f.read_text().strip()
except OSError:
return "0.0.0-dev"