update flow

This commit is contained in:
2025-09-22 10:07:39 -04:00
parent a74feeb67e
commit 95273be0b0
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -1397,6 +1397,11 @@ except Exception:
# If git detection fails, that's fine - use base version
pass
# Check for Gitea build environment variable
if os.environ.get("GITEA_BUILD") == "true":
if "-" not in version: # Don't double-add suffixes
version = f"{version}-gitea"
app = FastAPI(
title="NFOGuard",
description="Webhook server for preserving media import dates",