From 372ab870fb2de90051bb6e42905cd92b03e06095 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 23 Jun 2022 00:41:27 +0200 Subject: [PATCH] Move and fix the pre release file checker script. --- .../pre_release_check_files_present.sh | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100755 misc/scripts_app/pre_release_check_files_present.sh diff --git a/misc/scripts_app/pre_release_check_files_present.sh b/misc/scripts_app/pre_release_check_files_present.sh new file mode 100755 index 000000000..7b55589dc --- /dev/null +++ b/misc/scripts_app/pre_release_check_files_present.sh @@ -0,0 +1,48 @@ +cd ../../bin/ + +files=( + # Windows + "pandemonium.windows.opt.64.exe" + "pandemonium.windows.opt.debug.64.exe" + "pandemonium.windows.opt.tools.64.exe" + + # Linux + "pandemonium.x11.opt.64" + "pandemonium.x11.opt.debug.64" + "pandemonium.x11.opt.tools.64" + + # JS + "pandemonium.javascript.opt.tools.threads.zip" + "pandemonium.javascript.opt.zip" + # Android + + "android_debug.apk" + "android_release.apk" + + # OSX - Editor + "Pandemonium.app.zip" + + # OSX - export templates + "osx.zip" + + # Pi4 + "pandemonium.x11.pi4.opt.32" + "pandemonium.x11.pi4.opt.debug.32" + "pandemonium.x11.pi4.opt.tools.32" +) + +error=0 + +for f in ${files[*]} +do +if [ ! -e $f ]; then + error=1 + echo "$f is not present!" +fi +done + +if [ $error -eq 0 ]; then + echo "All files are present!" +fi + +cd ../..