diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2022-06-12 19:14:26 +0200 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2022-06-12 19:19:36 +0200 |
commit | 5733ae51ceaa9a2c225c43596552b2c918e5334e (patch) | |
tree | 0ce057b66b5e1167acaefd709a3fc948e79bd4e4 /test/get_previous_releases.py | |
parent | 37633d2f61697fc719390767aae740ece978b074 (diff) | |
download | bitcoin-5733ae51ceaa9a2c225c43596552b2c918e5334e.tar.xz |
test: Fix previous release binary download script for Apple ARM64
Diffstat (limited to 'test/get_previous_releases.py')
-rwxr-xr-x | test/get_previous_releases.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/get_previous_releases.py b/test/get_previous_releases.py index cbdb67216c..7b7cfbfef5 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(): |