Updated tools
This commit is contained in:
parent
63ad13e09a
commit
4b9e428abb
@ -16,7 +16,7 @@
|
|||||||
"LicenseName": "MIT",
|
"LicenseName": "MIT",
|
||||||
"LicenseDescription": "MIT, see LICENSE for more details.",
|
"LicenseDescription": "MIT, see LICENSE for more details.",
|
||||||
"Dependencies": [
|
"Dependencies": [
|
||||||
"cpl-core>=2022.6.17.dev8"
|
"cpl-core>=2022.6.0"
|
||||||
],
|
],
|
||||||
"PythonVersion": ">=3.10.4",
|
"PythonVersion": ">=3.10.4",
|
||||||
"PythonPath": {},
|
"PythonPath": {},
|
||||||
|
@ -59,7 +59,7 @@ class Application(ApplicationABC):
|
|||||||
version[VersionSettingsNameEnum.major.value] = branch.split('.')[0]
|
version[VersionSettingsNameEnum.major.value] = branch.split('.')[0]
|
||||||
version[VersionSettingsNameEnum.minor.value] = branch.split('.')[1]
|
version[VersionSettingsNameEnum.minor.value] = branch.split('.')[1]
|
||||||
if len(branch.split('.')) == 2:
|
if len(branch.split('.')) == 2:
|
||||||
version[VersionSettingsNameEnum.micro.value] = 0
|
version[VersionSettingsNameEnum.micro.value] = f'0{suffix}'
|
||||||
else:
|
else:
|
||||||
version[VersionSettingsNameEnum.micro.value] = f'{branch.split(".")[2]}{suffix}'
|
version[VersionSettingsNameEnum.micro.value] = f'{branch.split(".")[2]}{suffix}'
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"LicenseName": "MIT",
|
"LicenseName": "MIT",
|
||||||
"LicenseDescription": "MIT, see LICENSE for more details.",
|
"LicenseDescription": "MIT, see LICENSE for more details.",
|
||||||
"Dependencies": [
|
"Dependencies": [
|
||||||
"cpl-core>=2022.6.17.dev8",
|
"cpl-core>=2022.6.0",
|
||||||
"gitpython==3.1.27"
|
"gitpython==3.1.27"
|
||||||
],
|
],
|
||||||
"PythonVersion": ">=3.10.4",
|
"PythonVersion": ">=3.10.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user