mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
fix #694 set DEBUG_LOG
as soon as we know codename
This commit is contained in:
parent
6d09a4a7b1
commit
fe03fc3f07
@ -234,6 +234,9 @@ for codename in ${devices//,/ }; do
|
||||
logsubdir=
|
||||
fi
|
||||
|
||||
# Set device specific logfils
|
||||
DEBUG_LOG="$LOGS_DIR/$logsubdir/$branch-$builddate-$RELEASE_TYPE-$codename.log"
|
||||
|
||||
# `repo init`
|
||||
if [ "$CALL_REPO_INIT" = true ]; then
|
||||
echo ">> [$(date)] (Re)initializing branch repository" | tee -a "$repo_log"
|
||||
@ -308,7 +311,7 @@ for codename in ${devices//,/ }; do
|
||||
los_ver_minor=$(sed -n -e 's/^\s*PRODUCT_VERSION_MINOR = //p' "$makefile_containing_version")
|
||||
los_ver="$los_ver_major.$los_ver_minor"
|
||||
|
||||
DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log"
|
||||
# DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log"
|
||||
|
||||
# Set RELEASE_TYPE
|
||||
echo ">> [$(date)] Setting \"$RELEASE_TYPE\" as release type"
|
||||
|
Loading…
Reference in New Issue
Block a user