Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update file extension used by create_release script #1285

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update file extension used by create_release script
This should have been part of #1235
sbc100 committed Oct 10, 2023
commit 997301a89c5d3ca5b7a8cd5f06ad2c02a1e96e5c
2 changes: 1 addition & 1 deletion emsdk.py
Original file line number Diff line number Diff line change
@@ -2101,7 +2101,7 @@ def make_url(ext):
)

for release in recent_releases:
make_url('tbz2' if not WINDOWS else 'zip')
make_url('tar.xz' if not WINDOWS else 'zip')
try:
urlopen(make_url('tar.xz' if not WINDOWS else 'zip'))
except:
6 changes: 3 additions & 3 deletions scripts/update_bazel_workspace.py
Original file line number Diff line number Diff line change
@@ -39,9 +39,9 @@ def revisions_item(version, latest_hash):
return f'''\
"{version}": struct(
hash = "{latest_hash}",
sha_linux = "{get_sha('linux', 'tbz2', latest_hash)}",
sha_mac = "{get_sha('mac', 'tbz2', latest_hash)}",
sha_mac_arm64 = "{get_sha('mac', 'tbz2', latest_hash, '-arm64')}",
sha_linux = "{get_sha('linux', 'tar.xz', latest_hash)}",
sha_mac = "{get_sha('mac', 'tar.xz', latest_hash)}",
sha_mac_arm64 = "{get_sha('mac', 'tar.xz', latest_hash, '-arm64')}",
sha_win = "{get_sha('win', 'zip', latest_hash)}",
),
'''