Commit 0af7c66
fix(rp-4): use bsdtar fallback for Windows .zip packaging
build-cli-windows job for v0.1.6 (CI run 26521444308) failed at the
'Package zip' step because MSYS `zip` binary is not on PATH in the
windows-latest runner's Git Bash by default.
Use Windows 10+ built-in bsdtar (`tar.exe -a -cf foo.zip ...`)
when available — it auto-detects the archive format from the .zip
extension. Falls back to standalone `zip` when bsdtar is missing
(non-Windows hosts without bsdtar installed).
The tar.gz branch is unaffected; verified locally on GNU tar 1.34:
FLAVOR=cpu PLATFORM=linux-x86_64 VERSION=0.1.7-prep-smoke ./scripts/package_cli_tarball.sh
-> 15M tarball produces {"device":"cpu"}.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent cc8c5de commit 0af7c66
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
222 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
223 | 232 | | |
224 | 233 | | |
225 | 234 | | |
| |||
0 commit comments