diff --git a/test/get_previous_releases.py b/test/get_previous_releases.py index 79048513f78..ee484096b43 100755 --- a/test/get_previous_releases.py +++ b/test/get_previous_releases.py @@ -211,7 +211,7 @@ def download_binary(tag, args) -> int: Path(archive).unlink() - if tag >= "v23" and platform == "arm64-apple-darwin": + 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 binary_path = f'{os.getcwd()}/{tag}/bin/'