Build dev8 & improved set-version change handling

This commit is contained in:
2022-05-26 23:27:20 +02:00
parent f9748cdb76
commit 348fad24c7
47 changed files with 93 additions and 88 deletions

View File

@@ -16,7 +16,7 @@
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"cpl-core>=2022.6.17.dev7"
"cpl-core>=2022.6.17.dev8"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {},

View File

@@ -64,7 +64,10 @@ class Application(ApplicationABC):
diff_paths = []
for file in self._git_service.get_diff_files():
diff_paths.append(os.path.basename(os.path.dirname(file)))
if '/' in file:
diff_paths.append(file.split('/')[1])
else:
diff_paths.append(os.path.basename(os.path.dirname(file)))
try:
for project in self._workspace.projects:

View File

@@ -16,7 +16,7 @@
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"cpl-core>=2022.6.17.dev7",
"cpl-core>=2022.6.17.dev8",
"gitpython==3.1.27"
],
"PythonVersion": ">=3.10.4",