Hopefully unzip to the right place

This commit is contained in:
Joseph Donofry 2022-10-21 00:27:02 -04:00
parent 8e934e1b9b
commit 3535760163
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -19,12 +19,12 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then
unzip binaries.zip unzip binaries.zip
# we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory # we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory
# so move it to the right place for the rest of the process. # so move it to the right place for the rest of the process.
mv build/build/nheko.app build ( cd build || exit
# get rid of the extra build directory unzip nheko.zip
rm -r build/build )
fi fi
if [ -d "build/nheko.app" ]; then if [ ! -d "build/nheko.app" ]; then
echo "nheko.app is missing, you did something wrong!" echo "nheko.app is missing, you did something wrong!"
exit 1 exit 1
fi fi