Add tools/pack-disk.sh to build the images zip CI downloads via DISK_URL

This commit is contained in:
Felix Rieseberg
2026-04-12 09:54:21 -07:00
parent 6c964f99e9
commit fa0e4c691e

9
tools/pack-disk.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env sh
# Produce the images zip that CI's DISK_URL secret should point at.
# Inverse of download-disk.sh: flat archive of windows95.img + default-state.bin.
set -e
OUT="${1:-images_$(date +%Y%m%d).zip}"
cd images
zip -9 "../$OUT" windows95.img default-state.bin
cd -
ls -lh "$OUT"