build.sh aktualisiert
This commit is contained in:
parent
64403d08d3
commit
f0a330a5b5
1 changed files with 7 additions and 0 deletions
7
build.sh
7
build.sh
|
@ -1,6 +1,9 @@
|
|||
#!/bin/ash
|
||||
base=xonotic-data.pk3dir
|
||||
|
||||
# Apply specialsauce
|
||||
cp -R xonoticspecialsauce/* xonotic-data.pk3dir
|
||||
|
||||
: ${PROGS_OUT:=$PWD}
|
||||
export PROGS_OUT
|
||||
stamp=$(date +"%s")
|
||||
|
@ -15,4 +18,8 @@ echo "Compiled successfully!";
|
|||
mkdir -vp $(dirname "$0")/compiled
|
||||
mv -v *.dat $(dirname "$0")/compiled
|
||||
rm *.lno
|
||||
if [[ -z "${DRONE_TAG}" ]]; then
|
||||
zip -9 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
|
||||
fi
|
Loading…
Reference in a new issue