From d0b0f4bfcb7073d57e2b9e7f36a2e23077343adc Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 26 May 2022 21:41:42 +0200 Subject: [PATCH] Fixed set-version --- tools/set_version/application.py | 4 +++- tools/set_version/set-version.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/set_version/application.py b/tools/set_version/application.py index 0b8b19ec..83ea7b63 100644 --- a/tools/set_version/application.py +++ b/tools/set_version/application.py @@ -1,6 +1,8 @@ import os import traceback +from cpl_core.utils import String + from cpl_cli.configuration.version_settings_name_enum import VersionSettingsNameEnum from cpl_cli.configuration.workspace_settings import WorkspaceSettings from cpl_core.application.application_abc import ApplicationABC @@ -61,7 +63,7 @@ class Application(ApplicationABC): try: for project in self._workspace.projects: - if project not in diff_paths: + if project not in diff_paths and String.convert_to_snake_case(project) not in diff_paths: Console.write_line(f'Skipping {project} due to missing changes') continue diff --git a/tools/set_version/set-version.json b/tools/set_version/set-version.json index ae872c29..da0b3d1d 100644 --- a/tools/set_version/set-version.json +++ b/tools/set_version/set-version.json @@ -16,7 +16,7 @@ "LicenseName": "MIT", "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ - "cpl-core>=2022.6.17", + "cpl-core>=2022.6.17.dev6", "gitpython==3.1.27" ], "PythonVersion": ">=3.10.4",