From 89f05d8db8f818e34e4294f6c1dad4509f766142 Mon Sep 17 00:00:00 2001 From: shiro Date: Fri, 17 May 2024 08:34:01 +0900 Subject: [PATCH] Fix CI checksum generation --- ci/generate-pkgbuild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/generate-pkgbuild.py b/ci/generate-pkgbuild.py index 7cc6a11..0cf9415 100755 --- a/ci/generate-pkgbuild.py +++ b/ci/generate-pkgbuild.py @@ -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}")\