From 3be053433eede88c78d58a45bae99cefbd2e6f78 Mon Sep 17 00:00:00 2001 From: r0qs <457348+r0qs@users.noreply.github.com> Date: Tue, 28 Oct 2025 17:27:52 +0100 Subject: [PATCH 1/2] Add arm64 binaries --- .github/workflows/t-bytecode-compare.yml | 3 +++ linux-arm64/.gitkeep | 0 update.mjs | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 linux-arm64/.gitkeep diff --git a/.github/workflows/t-bytecode-compare.yml b/.github/workflows/t-bytecode-compare.yml index 37c2f86b1..1b9a84fb2 100644 --- a/.github/workflows/t-bytecode-compare.yml +++ b/.github/workflows/t-bytecode-compare.yml @@ -18,6 +18,9 @@ jobs: - platform: linux-amd64 os: ubuntu-latest + - platform: linux-arm64 + os: ubuntu-24.04-arm + - platform: macosx-amd64 os: macos-latest diff --git a/linux-arm64/.gitkeep b/linux-arm64/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/update.mjs b/update.mjs index 9a3b97be9..755c3ad9b 100755 --- a/update.mjs +++ b/update.mjs @@ -169,6 +169,7 @@ function processDir (dir, options, listCallback) { '/emscripten-wasm32': ['.js'], '/windows-amd64': ['.zip', '.exe'], '/linux-amd64': [''], + '/linux-arm64': [''], '/macosx-amd64': [''] }[dir] || '' @@ -342,6 +343,7 @@ function parseCommandLine () { const DIRS = [ '/bin', '/linux-amd64', + '/linux-arm64', '/macosx-amd64', '/windows-amd64' ] From 3de83a01c18441aba0b01864497c3bd86d27a587 Mon Sep 17 00:00:00 2001 From: r0qs <457348+r0qs@users.noreply.github.com> Date: Tue, 28 Oct 2025 17:28:05 +0100 Subject: [PATCH 2/2] Prevent crash on empty directories --- update.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.mjs b/update.mjs index 755c3ad9b..8f9ac1af5 100755 --- a/update.mjs +++ b/update.mjs @@ -274,7 +274,7 @@ function processDir (dir, options, listCallback) { }) // Update 'latest' symlink (except for wasm/ where the link is hard-coded to point at the one in bin/). - if (dir !== '/wasm') { + if (dir !== '/wasm' && latestReleaseFile) { const releaseExtension = binaryExtensions.find(function (extension) { return latestReleaseFile.endsWith(extension) }) binaryExtensions.forEach(function (extension) {