mirror of
https://github.com/felixrieseberg/windows95.git
synced 2026-05-09 00:24:09 +00:00
Add tools/pack-disk.sh to build the images zip CI downloads via DISK_URL
This commit is contained in:
9
tools/pack-disk.sh
Executable file
9
tools/pack-disk.sh
Executable 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"
|
||||||
Reference in New Issue
Block a user