Skip to content

Commit 5733ae5

Browse files
committed
test: Fix previous release binary download script for Apple ARM64
1 parent 37633d2 commit 5733ae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/get_previous_releases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def download_binary(tag, args) -> int:
106106
bin_path = 'bin/bitcoin-core-{}/test.{}'.format(
107107
match.group(1), match.group(2))
108108
platform = args.platform
109-
if tag < "v23" and platform in ["x86_64-apple-darwin", "aarch64-apple-darwin"]:
109+
if tag < "v23" and platform in ["x86_64-apple-darwin", "arm64-apple-darwin"]:
110110
platform = "osx64"
111111
tarball = 'bitcoin-{tag}-{platform}.tar.gz'.format(
112112
tag=tag[1:], platform=platform)
@@ -214,7 +214,7 @@ def check_host(args) -> int:
214214
'aarch64-*-linux*': 'aarch64-linux-gnu',
215215
'x86_64-*-linux*': 'x86_64-linux-gnu',
216216
'x86_64-apple-darwin*': 'x86_64-apple-darwin',
217-
'aarch64-apple-darwin*': 'aarch64-apple-darwin',
217+
'aarch64-apple-darwin*': 'arm64-apple-darwin',
218218
}
219219
args.platform = ''
220220
for pattern, target in platforms.items():

0 commit comments

Comments
 (0)