test: update build files

This commit is contained in:
Aliberk Sandıkçı 2023-12-20 20:22:36 +03:00
parent 2bc1fe0d34
commit 77d212c1e8
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -39,14 +39,11 @@ elif [[ $1 == "docker" ]]; then
npm run build
apk add zip
echo "DELETING OLD BUILD FILE!!! (after waiting 30 sec)"
sleep 30
mkdir -p /link/output/
if [[ -f "/link/iflrandevu-$IFLRANDEVU_VER.zip" ]]; then
echo "THIS VERSION ALREADY EXIST"
sleep 1
echo "DELETING OLD ARCHIVE"
sleep 5
echo -e "${_RED}DELETING OLD ARCHIVE${_NC} (after waiting 10 sec)"
sleep 10
rm "/link/iflrandevu-$IFLRANDEVU_VER.zip"
fi