Skip to content

Commit

Permalink
Force arm64 not aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Jan 31, 2024
1 parent 8c5b851 commit 4b17045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ def download_onedir_artifact(
arch = "arm64"
arch = arch.lower()
platform = platform.lower()
if platform in ("linux", "macos") and arch not in ("x86_64", "aarch64"):
if platform in ("linux", "macos") and arch not in ("x86_64", "arm64"):
ctx.error(
f"The 'arch' value for {platform} must be one of: 'x86_64', 'aarch64', 'arm64'"
f"The 'arch' value for {platform} must be one of: 'x86_64', 'aarch64', 'aarch64'"
)
ctx.exit(1)
if platform == "windows" and arch not in ("x86", "amd64"):
Expand Down

0 comments on commit 4b17045

Please sign in to comment.