From e8ebd4c195bb00b6c455e2daba13967f90f36358 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Tue, 14 Feb 2023 06:28:03 +0000 Subject: [PATCH] docker: Add support for android 13 --- build-community.sh | 4 ++++ src/build.sh | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build-community.sh b/build-community.sh index 84d375f..b587936 100755 --- a/build-community.sh +++ b/build-community.sh @@ -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 diff --git a/src/build.sh b/src/build.sh index 47e5c2b..aa0ca84 100755 --- a/src/build.sh +++ b/src/build.sh @@ -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 -- GitLab