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:
+2
-2
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user