From 961556ea6c225648b9640536b924235ba130b428 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 28 Nov 2021 22:45:12 -0500 Subject: [PATCH] [skip ci] Bump up minimum extensions check --- .github/scripts/create-repo.sh | 10 +++++----- .github/scripts/sign-apks.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/scripts/create-repo.sh b/.github/scripts/create-repo.sh index 37f228bb6..c84762544 100755 --- a/.github/scripts/create-repo.sh +++ b/.github/scripts/create-repo.sh @@ -31,16 +31,16 @@ for APK in ${APKS[@]}; do unzip -p $APK $ICON > icon/${FILENAME%.*}.png SOURCE_INFO=$(jq ".[\"$PKGNAME\"]" < ../output.json) - + # Fixes the language code without needing to update the packages. SOURCE_LEN=$(echo $SOURCE_INFO | jq length) if [ $SOURCE_LEN = "1" ]; then - SOURCE_LANG=$(echo $SOURCE_INFO | jq -r '.[0].lang') + SOURCE_LANG=$(echo $SOURCE_INFO | jq -r '.[0].lang') - if [ $SOURCE_LANG != $LANG ] && [ $SOURCE_LANG != "all" ] && [ $SOURCE_LANG != "other" ] && [ $LANG != "all" ] && [ $LANG != "other" ]; then - LANG=$SOURCE_LANG - fi + if [ $SOURCE_LANG != $LANG ] && [ $SOURCE_LANG != "all" ] && [ $SOURCE_LANG != "other" ] && [ $LANG != "all" ] && [ $LANG != "other" ]; then + LANG=$SOURCE_LANG + fi fi jq -n \ diff --git a/.github/scripts/sign-apks.sh b/.github/scripts/sign-apks.sh index 34775f70b..81751a7c1 100755 --- a/.github/scripts/sign-apks.sh +++ b/.github/scripts/sign-apks.sh @@ -9,7 +9,7 @@ cp -R ~/apk-artifacts/ $PWD APKS=( **/*".apk" ) # Fail if too little extensions seem to have been built -if [ "${#APKS[@]}" -le "1" ]; then +if [ "${#APKS[@]}" -le "100" ]; then echo "Insufficient amount of APKs found. Please check the project configuration." exit 1 else