Skip to content

Commit

Permalink
Merge pull request #73 from tarurar:tarurar/issue70
Browse files Browse the repository at this point in the history
Reprint the list of components on every component release
  • Loading branch information
tarurar authored May 7, 2024
2 parents 7a959dc + 127323b commit 436e043
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def choose_component_from_release(rel: NovaRelease) -> Optional[NovaComponent]:


if __name__ == "__main__":
print("#" * 33)
print("Nova Release Manager, version 1.3")
print("#" * 33 + "\n")

parser = argparse.ArgumentParser(description="Nova Release Manager")
parser.add_argument(
Expand Down Expand Up @@ -115,12 +117,14 @@ def choose_component_from_release(rel: NovaRelease) -> Optional[NovaComponent]:
version = args.version
delivery = args.delivery
manager = ReleaseManager()
release = release_repository.get(
config.data["jira"]["project"], version, delivery
)
print(release.describe_status())

while True:
print("Getting release information..." + "\n")
release = release_repository.get(
config.data["jira"]["project"], version, delivery
)
print(release.describe_status())

component = choose_component_from_release(release)
if component is None:
break
Expand Down

0 comments on commit 436e043

Please sign in to comment.