From f00bad5b9ff3214cf526c377e8b7af2a9c433fbb Mon Sep 17 00:00:00 2001 From: Robert Mongold Date: Tue, 18 Aug 2026 16:41:11 -0400 Subject: [PATCH] ReFix the release.yml for windows .zip --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab0ca66..12d6698 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: fi cp README.md LICENSE-MIT LICENSE-APACHE dist/ if [[ "${RUNNER_OS}" == "Windows" ]]; then - (cd dist && tar.exe -a -cf "../artifacts/linkprobe-${TAG}-${host}.zip" *) + python -c "import pathlib, zipfile; p=pathlib.Path('dist'); z=zipfile.ZipFile('artifacts/linkprobe-${TAG}-${host}.zip','w',zipfile.ZIP_DEFLATED); [z.write(f, f.name) for f in p.iterdir()]; z.close()" else tar -C dist -czf "artifacts/linkprobe-${TAG}-${host}.tar.gz" . fi