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.
This commit is contained in:
Christoph Brandau
2026-06-30 15:23:22 +02:00
parent cde255d8c3
commit 373125eaf1
+2 -2
View File
@@ -11,8 +11,8 @@ from minio import Minio
from minio.error import S3Error from minio.error import S3Error
REPO_ROOT = Path(__file__).resolve().parent.parent # cicd_tool lives inside the GitLite repo, so its parent dir is the app root.
PROJECT_DIR = REPO_ROOT / "GitLite" PROJECT_DIR = Path(__file__).resolve().parent.parent
ARTIFACT_ROOT = PROJECT_DIR / "src-tauri" / "target" / "release" / "bundle" ARTIFACT_ROOT = PROJECT_DIR / "src-tauri" / "target" / "release" / "bundle"