Skip to content

Commit

Permalink
Add mapping for Windows ARM64 to x86_64 artifacttool, similar to work…
Browse files Browse the repository at this point in the history
  • Loading branch information
sfudally authored Jul 28, 2022
1 parent 17b627a commit 18e461c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azure-devops/azext_devops/dev/common/artifacttool_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ def _get_current_release(organization, override_version):
if os_name == "Darwin" and arch in ["amd64", "arm64"]:
arch = "x86_64"

# Similarly for Windows ARM64 targets there is no version of artifact tool. However, the x86_64
# version can run under emulation, so we use that instead.
if os_name == "Windows" and arch == "ARM64":
arch = "x86_64"

release = client.get_clienttool_release(
"ArtifactTool",
os_name=os_name,
Expand Down

0 comments on commit 18e461c

Please sign in to comment.