1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Use new_build.sh for 20.0 builds

This commit is contained in:
Pete Fotheringham 2024-09-15 12:55:56 +01:00
parent a311f3967f
commit 68490248cc
2 changed files with 12 additions and 4 deletions

@ -65,10 +65,14 @@ visibility = ["//visibility:public"],
)
_EOB
build_file="build.sh"
if [ "$BRANCH_NAME" = "lineage-21.0" ]; then
case "$BRANCH_NAME" in
"lineage-20.0" | "lineage-21.0" )
build_file="new_build.sh"
fi
;;
* )
build_file="build.sh"
;;
esac
if [ "$CRONTAB_TIME" = "now" ]; then
/root/$build_file

@ -145,6 +145,10 @@ cd "$SRC_DIR/$branch_dir"
if [ -n "$branch" ] && [ -n "$devices" ]; then
case "$branch" in
lineage-20.0*)
themuppets_branch="lineage-20.0"
android_version="13"
;;
lineage-21.0*)
themuppets_branch="lineage-21.0"
android_version="14"