Skip to content

Commit

Permalink
Fix CI checksum generation
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed May 16, 2024
1 parent 77ab546 commit 89f05d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/generate-pkgbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def calculate_sha256(filename):
print("Generating PKGBUILD for map2...")
makedirs("./dist/aur", exist_ok=True)
with open("./dist/aur/PKGBUILD", "w") as out:
checksum_x86_64 = calculate_sha256(f"./wheels/map2-{release_tag}-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl")
checksum_i686 = calculate_sha256(f"./wheels/map2-{release_tag}-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl" )
checksum_x86_64 = calculate_sha256(f"./wheels/map2-{release_tag}-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl")
checksum_i686 = calculate_sha256(f"./wheels/map2-{release_tag}-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl" )

content = open("./ci/templates/PKGBUILD").read()\
.replace("pkgver=", f"pkgver={release_tag}")\
Expand Down

0 comments on commit 89f05d8

Please sign in to comment.