Build all stls into zip archives
This commit is contained in:
parent
059967f091
commit
46c78a2cb0
|
@ -11,7 +11,10 @@ do
|
||||||
for SIZE in "${SIZES[@]}"
|
for SIZE in "${SIZES[@]}"
|
||||||
do
|
do
|
||||||
:
|
:
|
||||||
echo "./stl/${SIZE}_${VERSION} -> ./releases/gnal_${SIZE}_${VERSION}.zip"
|
echo "./stl/${SIZE}_${VERSION} -> ./releases/gnal_${SIZE}_${VERSION} archives"
|
||||||
zip -r "./releases/gnal_${SIZE}_${VERSION}.zip" "./stl/${SIZE}_${VERSION}/*.stl"
|
# create zip archive and skip dotfiles
|
||||||
|
zip -x ".*" -r "./releases/gnal_${SIZE}_${VERSION}.zip" "./stl/${SIZE}_${VERSION}/*.stl"
|
||||||
|
# create tar.gz archive and skip dotfiles
|
||||||
|
tar --exclude=".*" -czvf "./releases/gnal_${SIZE}_${VERSION}.tar.gz" "./stl/${SIZE}_${VERSION}/"
|
||||||
done
|
done
|
||||||
done
|
done
|
Loading…
Reference in New Issue