Mark WilkensXL build versions
Some checks failed
Container Image / build-and-push (push) Has been cancelled

This commit is contained in:
2026-07-15 22:06:24 +02:00
parent caffdaa38c
commit aa1293323e
8 changed files with 107 additions and 7 deletions

19
app.py
View File

@@ -924,8 +924,23 @@ async def serve_login(request: Request):
@app.get("/api/version")
async def get_version():
from core.constants import APP_VERSION
return {"version": APP_VERSION}
from core.constants import (
APP_VERSION,
BUILD_FLAVOR,
BUILD_REVISION,
BUILD_VERSION,
FULL_VERSION,
UPSTREAM_VERSION,
)
return {
"version": BUILD_VERSION,
"upstream_version": UPSTREAM_VERSION,
"app_version": APP_VERSION,
"build_flavor": BUILD_FLAVOR,
"build_revision": BUILD_REVISION,
"build_version": BUILD_VERSION,
"full_version": FULL_VERSION,
}
@app.get("/api/health")
async def health_check() -> Dict[str, str]: