Skip to content

Commit

Permalink
feat: hoge
Browse files Browse the repository at this point in the history
  • Loading branch information
haruki7049 committed Jul 17, 2024
1 parent 6d56f23 commit 7fdb6d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fetch-releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@ def gen_releases(versions: list, v3_x64_urls: list, v4_x64_urls: list) -> list:

print("Number of versions: ", len(versions))

for url in v4_x64_urls:
for version in versions:
if is_correct_version_url(version, url):
print("Generating nix hash for: ", url)
sha256 = gen_nix_hash(url)

result.append({ "version": version, "url": url, "sha256": sha256, "arch": "x86_64-linux" })

for url in v3_x64_urls:
for version in versions:
if is_correct_version_url(version, url):
Expand Down

0 comments on commit 7fdb6d3

Please sign in to comment.