Skip to content

Commit 8e82384

Browse files
authored
Update file extension used by create_release script (#1285)
This should have been part of #1235
1 parent d42c740 commit 8e82384

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

emsdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,7 @@ def make_url(ext):
21012101
)
21022102

21032103
for release in recent_releases:
2104-
make_url('tbz2' if not WINDOWS else 'zip')
2104+
make_url('tar.xz' if not WINDOWS else 'zip')
21052105
try:
21062106
urlopen(make_url('tar.xz' if not WINDOWS else 'zip'))
21072107
except:

scripts/update_bazel_workspace.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ def revisions_item(version, latest_hash):
3939
return f'''\
4040
"{version}": struct(
4141
hash = "{latest_hash}",
42-
sha_linux = "{get_sha('linux', 'tbz2', latest_hash)}",
43-
sha_mac = "{get_sha('mac', 'tbz2', latest_hash)}",
44-
sha_mac_arm64 = "{get_sha('mac', 'tbz2', latest_hash, '-arm64')}",
42+
sha_linux = "{get_sha('linux', 'tar.xz', latest_hash)}",
43+
sha_mac = "{get_sha('mac', 'tar.xz', latest_hash)}",
44+
sha_mac_arm64 = "{get_sha('mac', 'tar.xz', latest_hash, '-arm64')}",
4545
sha_win = "{get_sha('win', 'zip', latest_hash)}",
4646
),
4747
'''

0 commit comments

Comments
 (0)