9 lines
170 B
Bash
9 lines
170 B
Bash
|
#!/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
|
||
|
|