mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Add the call to 'img_from_target_file'
This commit is contained in:
parent
a43c4a6eff
commit
012d43c058
@ -360,6 +360,13 @@ for branch in ${BRANCH_NAME//,/ }; do
|
|||||||
echo ">> [$(date)] Starting build for $codename, $branch branch" | tee -a "$DEBUG_LOG"
|
echo ">> [$(date)] Starting build for $codename, $branch branch" | tee -a "$DEBUG_LOG"
|
||||||
build_successful=false
|
build_successful=false
|
||||||
if (set +eu ; mka "${jobs_arg[@]}" target-files-package bacon) &>> "$DEBUG_LOG"; then
|
if (set +eu ; mka "${jobs_arg[@]}" target-files-package bacon) &>> "$DEBUG_LOG"; then
|
||||||
|
|
||||||
|
# make the - img.zip file
|
||||||
|
echo ">> [$(date)] Making -img.zip file" | tee -a "$DEBUG_LOG"
|
||||||
|
infile="out/target/product/$codename/PACKAGING/target_files_intermediates/lineage_$codename-target_files-eng.root.zip"
|
||||||
|
outfile="$codename-img.zip"
|
||||||
|
img_from_target_files "$infile" "$outfile" &>> "$DEBUG_LOG"
|
||||||
|
|
||||||
|
|
||||||
# Move produced ZIP files to the main OUT directory
|
# Move produced ZIP files to the main OUT directory
|
||||||
echo ">> [$(date)] Moving build artifacts for $codename to '$ZIP_DIR/$zipsubdir'" | tee -a "$DEBUG_LOG"
|
echo ">> [$(date)] Moving build artifacts for $codename to '$ZIP_DIR/$zipsubdir'" | tee -a "$DEBUG_LOG"
|
||||||
|
Loading…
Reference in New Issue
Block a user