Verified Commit 51631209 authored by David Runge's avatar David Runge
Browse files

gitlab: Be explicit during release selection

arch_release_promotion/gitlab.py:
Change `Upstream.select_release()` to also show the name of the project
for which the selection of the release is done.
parent fad8facb
Pipeline #10241 passed with stages
in 53 seconds
......@@ -57,7 +57,7 @@ class Upstream(gitlab.Gitlab):
if release_tags:
selection_string = "".join([f"{index}) {value}\n" for index, value in enumerate(release_tags)])
selection = input(f"Select a release:\n{selection_string}")
selection = input(f"Select a release for {self.name}:\n{selection_string}")
return release_tags[int(selection)]
else:
print("There are no releases to promote!")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment