build.sh aktualisiert
This commit is contained in:
parent
f0a330a5b5
commit
1438205ab8
1 changed files with 3 additions and 2 deletions
5
build.sh
5
build.sh
|
@ -18,8 +18,9 @@ echo "Compiled successfully!";
|
|||
mkdir -vp $(dirname "$0")/compiled
|
||||
mv -v *.dat $(dirname "$0")/compiled
|
||||
rm *.lno
|
||||
mkdir dist
|
||||
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
|
||||
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
|
Loading…
Reference in a new issue