From 06b59bc34df44106c30543b616da3b5b1b9bf0c3 Mon Sep 17 00:00:00 2001 From: jamshale Date: Wed, 17 Apr 2024 13:26:36 -0700 Subject: [PATCH] WIP --- repo_manager.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/repo_manager.py b/repo_manager.py index 9ae5dfd59..6b519d9d8 100644 --- a/repo_manager.py +++ b/repo_manager.py @@ -341,14 +341,11 @@ def main(arg_1 = None): next_line = next(file, None) global_version = re.findall(r'"([^"]*)"', next_line) break - msg = f""" - ###Release v{global_version[0]} - The latest supported versions of aries-cloudagent for each plugin are as follows:\n - """ + msg = f"""### Release v{global_version[0]}\n##### The latest supported versions of aries-cloudagent for each plugin are as follows:\n""" print(msg) print("| Plugin Name | Supported aries-cloudagent version |") print("| --- | --- |") - for plugin_name in os.listdir('./'): + for plugin_name in sorted(os.listdir('./')): if is_plugin_directory(plugin_name): with open(f'./{plugin_name}/poetry.lock', 'r') as file: for line in file: @@ -368,7 +365,9 @@ def main(arg_1 = None): with open(f'./{plugin_name}/pyproject.toml', 'w') as file: file.write(filedata) print(f'|{plugin_name} | {version[0]}|') - print("---") + + print("***") + print("***")