circolog/makezip.sh
2019-05-28 20:43:49 +02:00

8 lines
170 B
Bash
Executable file

#!/bin/bash
find build/ -type f|cut -d/ -f 1-3|uniq|while read -r dir; do
zip -j -r "circolog-$(git describe)-$(cut -d/ -f 2-3 <<<"$dir"|tr / -)" "$dir"
done
wait