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:
parent
a311f3967f
commit
68490248cc
10
src/init.sh
10
src/init.sh
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user