Loading build-community.sh +3 −0 Original line number Original line Diff line number Diff line Loading @@ -120,6 +120,9 @@ for branch in ${BRANCH_NAME//,/ }; do elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then themuppets_branch="lineage-21.0" themuppets_branch="lineage-21.0" android_version="14" android_version="14" elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then themuppets_branch="lineage-22.1" android_version="15" else else echo ">> [$(date)] Building branch $branch is not (yet) suppported" echo ">> [$(date)] Building branch $branch is not (yet) suppported" exit 1 exit 1 Loading src/build.sh +4 −1 Original line number Original line Diff line number Diff line Loading @@ -91,7 +91,7 @@ exit_script() { sync_successful=true sync_successful=true use_openjdk_from_ubuntu=false use_openjdk_from_ubuntu=false branch_dir=$(sed -E 's/^v[0-9](\.[0-9]*){0,2}(-(beta|alpha|rc)(\.[0-9]*){0,1}){0,1}-(nougat|oreo|pie|q|r|s|t|u|a14)(-[a-zA-Z0-9_]*)*$/\5/' <<<"${BRANCH_NAME}") branch_dir=$(sed -E 's/^v[0-9](\.[0-9]*){0,2}(-(beta|alpha|rc)(\.[0-9]*){0,1}){0,1}-(nougat|oreo|pie|q|r|s|t|u|a14|a15)(-[a-zA-Z0-9_]*)*$/\5/' <<<"${BRANCH_NAME}") branch_dir=${branch_dir^^} branch_dir=${branch_dir^^} if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then Loading Loading @@ -128,6 +128,9 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then themuppets_branch="lineage-21.0" themuppets_branch="lineage-21.0" android_version="14" android_version="14" elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then themuppets_branch="lineage-22.1" android_version="15" else else echo ">> [$(date)] Building branch $BRANCH_NAME is not (yet) supported" echo ">> [$(date)] Building branch $BRANCH_NAME is not (yet) supported" exit 1 exit 1 Loading Loading
build-community.sh +3 −0 Original line number Original line Diff line number Diff line Loading @@ -120,6 +120,9 @@ for branch in ${BRANCH_NAME//,/ }; do elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then themuppets_branch="lineage-21.0" themuppets_branch="lineage-21.0" android_version="14" android_version="14" elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then themuppets_branch="lineage-22.1" android_version="15" else else echo ">> [$(date)] Building branch $branch is not (yet) suppported" echo ">> [$(date)] Building branch $branch is not (yet) suppported" exit 1 exit 1 Loading
src/build.sh +4 −1 Original line number Original line Diff line number Diff line Loading @@ -91,7 +91,7 @@ exit_script() { sync_successful=true sync_successful=true use_openjdk_from_ubuntu=false use_openjdk_from_ubuntu=false branch_dir=$(sed -E 's/^v[0-9](\.[0-9]*){0,2}(-(beta|alpha|rc)(\.[0-9]*){0,1}){0,1}-(nougat|oreo|pie|q|r|s|t|u|a14)(-[a-zA-Z0-9_]*)*$/\5/' <<<"${BRANCH_NAME}") branch_dir=$(sed -E 's/^v[0-9](\.[0-9]*){0,2}(-(beta|alpha|rc)(\.[0-9]*){0,1}){0,1}-(nougat|oreo|pie|q|r|s|t|u|a14|a15)(-[a-zA-Z0-9_]*)*$/\5/' <<<"${BRANCH_NAME}") branch_dir=${branch_dir^^} branch_dir=${branch_dir^^} if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then Loading Loading @@ -128,6 +128,9 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then elif [[ "${BRANCH_NAME}" =~ $regex_part1"a14"$regex_part2 || "${BRANCH_NAME}" =~ "a14" ]]; then themuppets_branch="lineage-21.0" themuppets_branch="lineage-21.0" android_version="14" android_version="14" elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then themuppets_branch="lineage-22.1" android_version="15" else else echo ">> [$(date)] Building branch $BRANCH_NAME is not (yet) supported" echo ">> [$(date)] Building branch $BRANCH_NAME is not (yet) supported" exit 1 exit 1 Loading