Skip to content

Commit

Permalink
fix: Update fetch-releases.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haruki7049 committed Jul 15, 2024
1 parent a9f06af commit c996ad2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fetch-releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,11 @@ def is_correct_version_url(version: str, url: str) -> bool:


if __name__ == "__main__":
owner: str = "denoland"
repo: str = "deno"
destination = "sources.json"

with open("releases.json", "r") as f:
json_string = f.read()

deno_info: list = json.loads(json_string)
deno_info: list = get_all_releases(owner, repo)
versions: list = gen_list_of_versions(deno_info)
urls: list = gen_list_of_download_link(deno_info)
x86_64_linux_urls: list = filter_x86_64_linux_link(urls)
Expand Down

0 comments on commit c996ad2

Please sign in to comment.