From 4b9e428abb57156cd0d2e8ab3f69818fa00474da Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 27 Jun 2022 20:52:27 +0200 Subject: [PATCH] Updated tools --- tools/set_pip_urls/set-pip-urls.json | 2 +- tools/set_version/application.py | 2 +- tools/set_version/set-version.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/set_pip_urls/set-pip-urls.json b/tools/set_pip_urls/set-pip-urls.json index 644962a9..9a03d92e 100644 --- a/tools/set_pip_urls/set-pip-urls.json +++ b/tools/set_pip_urls/set-pip-urls.json @@ -16,7 +16,7 @@ "LicenseName": "MIT", "LicenseDescription": "MIT, see LICENSE for more details.", "Dependencies": [ - "cpl-core>=2022.6.17.dev8" + "cpl-core>=2022.6.0" ], "PythonVersion": ">=3.10.4", "PythonPath": {}, diff --git a/tools/set_version/application.py b/tools/set_version/application.py index a35e7f0a..1ca6425a 100644 --- a/tools/set_version/application.py +++ b/tools/set_version/application.py @@ -59,7 +59,7 @@ class Application(ApplicationABC): version[VersionSettingsNameEnum.major.value] = branch.split('.')[0] version[VersionSettingsNameEnum.minor.value] = branch.split('.')[1] if len(branch.split('.')) == 2: - version[VersionSettingsNameEnum.micro.value] = 0 + version[VersionSettingsNameEnum.micro.value] = f'0{suffix}' else: version[VersionSettingsNameEnum.micro.value] = f'{branch.split(".")[2]}{suffix}' except Exception as e: diff --git a/tools/set_version/set-version.json b/tools/set_version/set-version.json index 5ac3d70b..60a67909 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.dev8", + "cpl-core>=2022.6.0", "gitpython==3.1.27" ], "PythonVersion": ">=3.10.4",