mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-08 01:49:35 +01:00
Added a helper script that can check whether all required files are present before release generation.
This commit is contained in:
parent
feeb36f99e
commit
a2e352e687
48
tools/release/pre_release_check_files_present.sh
Executable file
48
tools/release/pre_release_check_files_present.sh
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
cd ../../engine/bin/
|
||||||
|
|
||||||
|
files=(
|
||||||
|
# Windows
|
||||||
|
"godot.windows.opt.64.exe"
|
||||||
|
"godot.windows.opt.debug.64.exe"
|
||||||
|
"godot.windows.opt.tools.64.exe"
|
||||||
|
|
||||||
|
# Linux
|
||||||
|
"godot.x11.opt.64"
|
||||||
|
"godot.x11.opt.debug.64"
|
||||||
|
"godot.x11.opt.tools.64"
|
||||||
|
|
||||||
|
# JS
|
||||||
|
"godot.javascript.opt.tools.threads.zip"
|
||||||
|
"godot.javascript.opt.zip"
|
||||||
|
# Android
|
||||||
|
|
||||||
|
"android_debug.apk"
|
||||||
|
"android_release.apk"
|
||||||
|
|
||||||
|
# OSX - Editor
|
||||||
|
"Godot.app.zip"
|
||||||
|
|
||||||
|
# OSX - export templates
|
||||||
|
"osx.zip"
|
||||||
|
|
||||||
|
# Pi4
|
||||||
|
"godot.x11.pi4.opt.32"
|
||||||
|
"godot.x11.pi4.opt.debug.32"
|
||||||
|
"godot.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 ../..
|
Loading…
Reference in New Issue
Block a user