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
# 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.
mv build/build/nheko.app build
# get rid of the extra build directory
rm -r build/build
( cd build || exit
unzip nheko.zip
)
fi
if [ -d "build/nheko.app" ]; then
if [ ! -d "build/nheko.app" ]; then
echo "nheko.app is missing, you did something wrong!"
exit 1
fi