2022.6.17 - Unittests #84

Merged
edraft merged 51 commits from 2022.6.17 into 2022.6 2022-06-27 10:03:55 +02:00
Showing only changes of commit 3a1630b687 - Show all commits

View File

@ -35,6 +35,11 @@ class Application(ApplicationABC):
version = {} version = {}
branch = "" branch = ""
suffix = "" suffix = ""
force = False
if '--force' in args:
args.remove('--force')
force = True
if len(args) > 1: if len(args) > 1:
Console.error(f'Unexpected argument(s): {", ".join(args[1:])}') Console.error(f'Unexpected argument(s): {", ".join(args[1:])}')
return return
@ -63,7 +68,7 @@ class Application(ApplicationABC):
try: try:
for project in self._workspace.projects: for project in self._workspace.projects:
if project not in diff_paths and String.convert_to_snake_case(project) not in diff_paths: if project not in diff_paths and String.convert_to_snake_case(project) not in diff_paths and not force:
Console.write_line(f'Skipping {project} due to missing changes') Console.write_line(f'Skipping {project} due to missing changes')
continue continue