2022.7 - cpl-discord #96
@ -15,7 +15,7 @@ __title__ = 'set_version'
|
||||
__author__ = 'Sven Heidemann'
|
||||
__license__ = 'MIT'
|
||||
__copyright__ = 'Copyright (c) 2022 sh-edraft.de'
|
||||
__version__ = '2022.6.0'
|
||||
__version__ = '2022.7.0'
|
||||
|
||||
from collections import namedtuple
|
||||
|
||||
@ -23,4 +23,4 @@ from collections import namedtuple
|
||||
# imports:
|
||||
|
||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||
version_info = VersionInfo(major='2022', minor='6', micro='0')
|
||||
version_info = VersionInfo(major='2022', minor='7', micro='0')
|
||||
|
@ -3,7 +3,7 @@
|
||||
"Name": "set-version",
|
||||
"Version": {
|
||||
"Major": "2022",
|
||||
"Minor": "6",
|
||||
"Minor": "7",
|
||||
"Micro": "0"
|
||||
},
|
||||
"Author": "Sven Heidemann",
|
||||
|
@ -50,9 +50,10 @@ class VersionSetterService:
|
||||
if dep_name[len(dep_name)-1] not in ascii_letters:
|
||||
dep_name = dep_name[:len(dep_name)-1]
|
||||
|
||||
if skipped is not None and (dep_name in skipped or String.convert_to_snake_case(dep_name) in skipped):
|
||||
if skipped is not None and (dep_name in skipped or String.convert_to_snake_case(dep_name) in skipped) or dep_version == '':
|
||||
new_deps.append(dependency)
|
||||
continue
|
||||
|
||||
new_deps.append(dependency.replace(dep_version, f'{version["Major"]}.{version["Minor"]}.{version["Micro"]}'))
|
||||
|
||||
project_json['ProjectSettings'][key] = new_deps
|
||||
|
Loading…
Reference in New Issue
Block a user