From 9076378aacd97b3948276e19928f1f55626723bc Mon Sep 17 00:00:00 2001 From: Pete Moore Date: Wed, 18 Nov 2026 17:29:31 +0100 Subject: [PATCH] Zip Windows release binaries with the tar built into Windows 7-Zip is no longer installed on the proj-relman/win2022 worker image, so the 7z commands in the build_windows_release task would fail. Windows ships bsdtar as %SystemRoot%\System32\tar.exe, which writes zip files with -a. Call it by full path, as msys2's GNU tar (which cannot write zip files) is also on PATH. --- .taskcluster.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index c5e97950e..be258d3e1 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -598,8 +598,8 @@ tasks: - cd rust-code-analysis - git -c advice.detachedHead=false checkout ${head_rev} - cargo build --workspace --release - - 7z a rust-code-analysis-win-cli-x86_64.zip "target\release\rust-code-analysis-cli.exe" - - 7z a rust-code-analysis-win-web-x86_64.zip "target\release\rust-code-analysis-web.exe" + - '%SystemRoot%\System32\tar.exe -a -cf rust-code-analysis-win-cli-x86_64.zip -C target\release rust-code-analysis-cli.exe' + - '%SystemRoot%\System32\tar.exe -a -cf rust-code-analysis-win-web-x86_64.zip -C target\release rust-code-analysis-web.exe' mounts: - content: url: https://win.rustup.rs/