test: stop signing previous releases >= v28.2

This commit is contained in:
Sjors Provoost
2025-07-08 13:57:23 +02:00
parent c6dc2c29f8
commit 609203d507

View File

@@ -211,8 +211,9 @@ def download_binary(tag, args) -> int:
Path(archive).unlink()
if tag >= "v23" and args.host == "arm64-apple-darwin":
# Starting with v23 there are arm64 binaries for ARM (e.g. M1, M2) macs, but they have to be signed to run
if tag >= "v23" and tag < "v28.2" and args.host == "arm64-apple-darwin":
# Starting with v23 there are arm64 binaries for ARM (e.g. M1, M2) mac.
# Until v28.2 they had to be signed to run.
binary_path = f'{os.getcwd()}/{tag}/bin/'
for arm_binary in os.listdir(binary_path):