Switch to HEAD.zip when downloading archive from github. (#806)
This works regardless of the name of the primary branch so that the code will continue to work if/when we rename `main` to `master`. See: #805
This commit is contained in:
5
emsdk.py
5
emsdk.py
@@ -44,7 +44,10 @@ emscripten_releases_repo = 'https://chromium.googlesource.com/emscripten-release
|
||||
|
||||
emscripten_releases_download_url_template = "https://storage.googleapis.com/webassembly/emscripten-releases-builds/%s/%s/wasm-binaries.%s"
|
||||
|
||||
emsdk_zip_download_url = 'https://github.com/emscripten-core/emsdk/archive/master.zip'
|
||||
# This was previously `master.zip` but we are transitioning to `main` and
|
||||
# `HEAD.zip` works for both cases. In future we could switch this to
|
||||
# `main.zip` perhaps.
|
||||
emsdk_zip_download_url = 'https://github.com/emscripten-core/emsdk/archive/HEAD.zip'
|
||||
|
||||
zips_subdir = 'zips/'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user