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

Commit f37331de authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

add initial a16 support

parent dd2f9076
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -123,6 +123,9 @@ for branch in ${BRANCH_NAME//,/ }; do
    elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then
    elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then
      themuppets_branch="lineage-22.2"
      themuppets_branch="lineage-22.2"
      android_version="15"
      android_version="15"
    elif [[ "${BRANCH_NAME}" =~ $regex_part1"a16"$regex_part2 || "${BRANCH_NAME}" =~ "a16" ]]; then
      themuppets_branch="lineage-23.0"
      android_version="16"
    else
    else
      echo ">> [$(date)] Building branch $branch is not (yet) suppported"
      echo ">> [$(date)] Building branch $branch is not (yet) suppported"
      exit 1
      exit 1
+4 −1
Original line number Original line Diff line number Diff line
@@ -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}-(s|t|u|a14|a15)(-[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}-(s|t|u|a14|a15|a16)(-[a-zA-Z0-9_]*)*$/\5/' <<<"${BRANCH_NAME}")
branch_dir=${branch_dir^^}
branch_dir=${branch_dir^^}
default_key_dir="user-keys"
default_key_dir="user-keys"


@@ -114,6 +114,9 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
  elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then
  elif [[ "${BRANCH_NAME}" =~ $regex_part1"a15"$regex_part2 || "${BRANCH_NAME}" =~ "a15" ]]; then
    themuppets_branch="lineage-22.2"
    themuppets_branch="lineage-22.2"
    android_version="15"
    android_version="15"
  elif [[ "${BRANCH_NAME}" =~ $regex_part1"a16"$regex_part2 || "${BRANCH_NAME}" =~ "a16" ]]; then
    themuppets_branch="lineage-23.0"
    android_version="16"
  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