From 5733ae51ceaa9a2c225c43596552b2c918e5334e Mon Sep 17 00:00:00 2001 From: Fabian Jahr Date: Sun, 12 Jun 2022 19:14:26 +0200 Subject: [PATCH] test: Fix previous release binary download script for Apple ARM64 --- test/get_previous_releases.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/get_previous_releases.py b/test/get_previous_releases.py index cbdb67216cb..7b7cfbfef52 100755 --- a/test/get_previous_releases.py +++ b/test/get_previous_releases.py @@ -106,7 +106,7 @@ def download_binary(tag, args) -> int: bin_path = 'bin/bitcoin-core-{}/test.{}'.format( match.group(1), match.group(2)) platform = args.platform - if tag < "v23" and platform in ["x86_64-apple-darwin", "aarch64-apple-darwin"]: + if tag < "v23" and platform in ["x86_64-apple-darwin", "arm64-apple-darwin"]: platform = "osx64" tarball = 'bitcoin-{tag}-{platform}.tar.gz'.format( tag=tag[1:], platform=platform) @@ -214,7 +214,7 @@ def check_host(args) -> int: 'aarch64-*-linux*': 'aarch64-linux-gnu', 'x86_64-*-linux*': 'x86_64-linux-gnu', 'x86_64-apple-darwin*': 'x86_64-apple-darwin', - 'aarch64-apple-darwin*': 'aarch64-apple-darwin', + 'aarch64-apple-darwin*': 'arm64-apple-darwin', } args.platform = '' for pattern, target in platforms.items():