Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
vatsrahul1001 committed Apr 19, 2024
1 parent d3a672d commit f983699
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/scripts/get_latest_runtime_image_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def get_latest_tag(repository: str) -> str:
response = requests.get(url)
response.raise_for_status()
data = response.json()
print("Response data:", data)
tags = data["tags"]
valid_tags = []
for tag in tags:
Expand All @@ -26,10 +25,7 @@ def get_latest_tag(repository: str) -> str:
except ValueError:
continue
if valid_tags:
print(valid_tags)
latest_tag = max(valid_tags)

# print(latest_tag)
return str(latest_tag)
else:
sys.exit("No valid semantic version tags found.")
Expand Down

0 comments on commit f983699

Please sign in to comment.