ScriptCollection 3.5.91__py3-none-any.whl → 3.5.92__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
32
32
  from .ProgramRunnerPopen import ProgramRunnerPopen
33
33
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
34
34
 
35
- version = "3.5.91"
35
+ version = "3.5.92"
36
36
  __version__ = version
37
37
 
38
38
 
@@ -1291,9 +1291,9 @@ class TasksForCommonProjectStructure:
1291
1291
 
1292
1292
  self.__standardized_tasks_release_artifact(createReleaseInformation)
1293
1293
 
1294
+ GeneralUtilities.assert_condition(createRelease_configuration.reference_repository_remote_name is not None, "Remote for reference-repository not set.")
1294
1295
  self.__sc.git_commit(createReleaseInformation.reference_repository, f"Added reference of {createRelease_configuration.projectname} v{new_project_version}")
1295
- if createRelease_configuration.reference_repository_remote_name is not None:
1296
- self.__sc.git_push_with_retry(createReleaseInformation.reference_repository, createRelease_configuration.reference_repository_remote_name, createRelease_configuration.reference_repository_branch_name, createRelease_configuration.reference_repository_branch_name, verbosity=createRelease_configuration.verbosity)
1296
+ self.__sc.git_push_with_retry(createReleaseInformation.reference_repository, createRelease_configuration.reference_repository_remote_name, createRelease_configuration.reference_repository_branch_name, createRelease_configuration.reference_repository_branch_name, verbosity=createRelease_configuration.verbosity)
1297
1297
  self.__sc.git_commit(build_repository_folder, f"Added {createRelease_configuration.projectname} release v{new_project_version}")
1298
1298
  GeneralUtilities.write_message_to_stdout(f"Finished release for project {createRelease_configuration.projectname} v{new_project_version} successfully.")
1299
1299
  return new_project_version
@@ -3065,8 +3065,8 @@ class TasksForCommonProjectStructure:
3065
3065
  GeneralUtilities.ensure_file_exists(random_file)
3066
3066
  current_version = self.get_version_of_project(repositoryfolder)
3067
3067
  changelog_file = os.path.join(repositoryfolder, "Other", "Resources", "Changelog", f"v{current_version}.md")
3068
- if os.path.isdir(changelog_file):
3069
- raise ValueError(f"Changelogfile {changelog_file} already exists.")
3068
+ if os.path.isfile(changelog_file):
3069
+ GeneralUtilities.write_message_to_stdout(f"Changelog-file '{changelog_file}' already exists.")
3070
3070
  else:
3071
3071
  GeneralUtilities.ensure_file_exists(changelog_file)
3072
3072
  GeneralUtilities.write_text_to_file(changelog_file, f"""# Release notes
@@ -3092,7 +3092,7 @@ class TasksForCommonProjectStructure:
3092
3092
  target = os.path.join(ref_repo, "Reference", update_http_documentation_arguments.product_name)
3093
3093
  GeneralUtilities.ensure_directory_does_not_exist(target)
3094
3094
  shutil.copytree(GeneralUtilities.resolve_relative_path(f"../../Submodules/{update_http_documentation_arguments.product_name}Reference/ReferenceContent", folder_of_this_file), target)
3095
- self.__sc.git_commit(ref_repo, f"Copied reference of {update_http_documentation_arguments.product_name} v{update_http_documentation_arguments.new_project_version} from repository.")
3095
+ self.__sc.git_commit(ref_repo, f"Added reference of {update_http_documentation_arguments.product_name} v{update_http_documentation_arguments.new_project_version}")
3096
3096
 
3097
3097
  # Sync reference-repository
3098
3098
  self.__sc.git_fetch(ref_repo, update_http_documentation_arguments.common_remote_name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ScriptCollection
3
- Version: 3.5.91
3
+ Version: 3.5.92
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Home-page: https://github.com/anionDev/ScriptCollection
6
6
  Author: Marius Göcke
@@ -5,12 +5,12 @@ ScriptCollection/ProgramRunnerBase.py,sha256=2kMIAqdc65UjBAddOZkzy_aFx9h5roZ5a4b
5
5
  ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1X43regfU,6477
6
6
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
7
7
  ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
8
- ScriptCollection/ScriptCollectionCore.py,sha256=ZromJ3Kjpq62EXEi-MGWpjohnv9De9F9oEd9Ixw8OXc,123626
9
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=gHVWuGglt25jqq6xR7cf0mKWM3OX2sNHijue2RoYuGw,217056
8
+ ScriptCollection/ScriptCollectionCore.py,sha256=Qyo5uuSsVQIbwWxqGgyfetyVrZ2KO1yg_PlICIavTto,123626
9
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=YWHvLc91WuCrmay9qqf43onRhYy94nbd1sKLiBfNrZ4,217137
10
10
  ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
11
11
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- scriptcollection-3.5.91.dist-info/METADATA,sha256=EfZfpHkS52wiNF0wb0ro-Z-pMXNdSb-h5YE8IaFDxRY,7664
13
- scriptcollection-3.5.91.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
14
- scriptcollection-3.5.91.dist-info/entry_points.txt,sha256=1jAL5AuB8mvdw2v-6E7wCZFThurQxchiQynL8DCi-Yg,3545
15
- scriptcollection-3.5.91.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
- scriptcollection-3.5.91.dist-info/RECORD,,
12
+ scriptcollection-3.5.92.dist-info/METADATA,sha256=lsBwVdHT7ePQ2yjnuj-kq7uX7NVvVniSWodbiPdMJzs,7664
13
+ scriptcollection-3.5.92.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
14
+ scriptcollection-3.5.92.dist-info/entry_points.txt,sha256=1jAL5AuB8mvdw2v-6E7wCZFThurQxchiQynL8DCi-Yg,3545
15
+ scriptcollection-3.5.92.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
+ scriptcollection-3.5.92.dist-info/RECORD,,