Skip to content

Commit

Permalink
feat(fetch-releases): Init gen_list_of_versions func
Browse files Browse the repository at this point in the history
  • Loading branch information
haruki7049 committed Jul 17, 2024
1 parent 36a9527 commit 61a46e4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fetch-releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,12 @@ def gen_list_of_download_link(sources: dict) -> list:
result.append(assets["browser_download_url"])

return result


def gen_list_of_versions(sources: list) -> list:
result: list = []

for version in sources:
result.append(version["tag_name"])

return result

0 comments on commit 61a46e4

Please sign in to comment.