From 373125eaf19c6acedc713c292042805f4ed4f248 Mon Sep 17 00:00:00 2001 From: Christoph Brandau Date: Tue, 30 Jun 2026 15:23:22 +0200 Subject: [PATCH] fix project directory path The `cicd_tool` resides directly within the `GitLite` repository. The previous path calculation redundantly appended "GitLite", resulting in an incorrect project root. This change correctly identifies the parent directory as the repository root and removes the unused `REPO_ROOT` variable. --- cicd_tool/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cicd_tool/main.py b/cicd_tool/main.py index 12feb8f..6ed83d3 100644 --- a/cicd_tool/main.py +++ b/cicd_tool/main.py @@ -11,8 +11,8 @@ from minio import Minio from minio.error import S3Error -REPO_ROOT = Path(__file__).resolve().parent.parent -PROJECT_DIR = REPO_ROOT / "GitLite" +# cicd_tool lives inside the GitLite repo, so its parent dir is the app root. +PROJECT_DIR = Path(__file__).resolve().parent.parent ARTIFACT_ROOT = PROJECT_DIR / "src-tauri" / "target" / "release" / "bundle"