mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
cd to SRCDIR/branchdir before handling manifests"
This commit is contained in:
parent
38000b6628
commit
c1e0512c9f
@ -138,6 +138,9 @@ fi
|
|||||||
branch_dir=${branch//[^[:alnum:]]/_}
|
branch_dir=${branch//[^[:alnum:]]/_}
|
||||||
branch_dir=${branch_dir^^}
|
branch_dir=${branch_dir^^}
|
||||||
|
|
||||||
|
mkdir -p "$SRC_DIR/$branch_dir"
|
||||||
|
cd "$SRC_DIR/$branch_dir"
|
||||||
|
|
||||||
if [ -n "$branch" ] && [ -n "$devices" ]; then
|
if [ -n "$branch" ] && [ -n "$devices" ]; then
|
||||||
case "$branch" in
|
case "$branch" in
|
||||||
lineage-21.0*)
|
lineage-21.0*)
|
||||||
@ -150,9 +153,6 @@ if [ -n "$branch" ] && [ -n "$devices" ]; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
android_version_major=$(cut -d '.' -f 1 <<< $android_version)
|
android_version_major=$(cut -d '.' -f 1 <<< $android_version)
|
||||||
|
|
||||||
mkdir -p "$SRC_DIR/$branch_dir"
|
|
||||||
cd "$SRC_DIR/$branch_dir"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Handle local manifests
|
# Handle local manifests
|
||||||
|
Loading…
Reference in New Issue
Block a user