Commit dcaa84e7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Android: don't break if there's no target-name

parent f1930b71
......@@ -48,7 +48,7 @@ git clone kde:$package $APP_GIT_EXTRA || true
popd
manifestFile=`find $(pwd)/src/$package -name AndroidManifest.xml`
targetname=$(python3 ci-tooling/helpers/getsetting.py --project $package --product Applications --platform AndroidQt5.11 --key target-name)
targetname=$(python3 ci-tooling/helpers/getsetting.py --project $package --product Applications --platform AndroidQt5.11 --key target-name || true)
if [[ -z "$targetname" && -n "$manifestFile" ]]
then
targetname=`python3 $DIR/target-from-manifest.py $manifestFile | tr '\n' ';' | head -c -1`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment