build.sh aktualisiert

This commit is contained in:
Phil 2023-08-20 16:06:52 +02:00
parent f0a330a5b5
commit 1438205ab8

View file

@ -18,8 +18,9 @@ echo "Compiled successfully!";
mkdir -vp $(dirname "$0")/compiled mkdir -vp $(dirname "$0")/compiled
mv -v *.dat $(dirname "$0")/compiled mv -v *.dat $(dirname "$0")/compiled
rm *.lno rm *.lno
mkdir dist
if [[ -z "${DRONE_TAG}" ]]; then if [[ -z "${DRONE_TAG}" ]]; then
zip -9 compiled-$DRONE_TAG.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat zip -9 dist/compiled-$DRONE_TAG.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
else else
zip -9 compiled.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat zip -9 dist/compiled.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
fi fi