Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8ebd4c1 authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

docker: Add support for android 13

parent 9ee9342f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -109,6 +109,10 @@ for branch in ${BRANCH_NAME//,/ }; do
        themuppets_branch="lineage-19.1"
        android_version="12"
        ;;
      *t*)
        themuppets_branch="lineage-20.0"
        android_version="13"
        ;;
      *)
        echo ">> [$(date)] Building branch $branch is not (yet) suppported"
        exit 1
+5 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ fi
sync_successful=true

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)(-[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)(-[a-zA-Z0-9_]*)*$/\5/' <<< "${BRANCH_NAME}")
branch_dir=${branch_dir^^}

if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
@@ -67,6 +67,10 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
      themuppets_branch="lineage-19.1"
      android_version="12"
      ;;
    *t*)
      themuppets_branch="lineage-20.0"
      android_version="13"
      ;;
    *)
      echo ">> [$(date)] Building branch $branch is not (yet) suppported"
      exit 1