Skip to content

Commit 5bd73d9

Browse files
committed
test: fix macOS detection
1 parent a8bff38 commit 5bd73d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/get_previous_releases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def download_binary(tag, args) -> int:
211211

212212
Path(archive).unlink()
213213

214-
if tag >= "v23" and platform == "arm64-apple-darwin":
214+
if tag >= "v23" and args.host == "arm64-apple-darwin":
215215
# Starting with v23 there are arm64 binaries for ARM (e.g. M1, M2) macs, but they have to be signed to run
216216
binary_path = f'{os.getcwd()}/{tag}/bin/'
217217

0 commit comments

Comments
 (0)