Skip to content

Commit

Permalink
Use Darwin x86-64 binaries when i386 do not exist (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Bolmier authored Nov 1, 2021
1 parent 3bf9a92 commit 0aae49a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extern-sdk/python/git_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def download():
for asset in json_info["assets"]:
if asset_name in asset["browser_download_url"]:
asset_url = asset["url"]
# temporary fix for non existing Darwin i386 binaries
elif "Darwin_i386" in asset_name and os_name in asset["browser_download_url"]:
asset_url = asset["url"]

# download the url contents in binary format
headers = {'Accept': 'application/octet-stream'}
Expand Down

0 comments on commit 0aae49a

Please sign in to comment.