mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 15:09:34 -05:00
parent
894247687a
commit
5f6a176e8c
@ -403,16 +403,18 @@ processRelease() {
|
|||||||
mkdir -vp $ARCHIVE/fastboot;
|
mkdir -vp $ARCHIVE/fastboot;
|
||||||
mkdir -vp $ARCHIVE/incrementals;
|
mkdir -vp $ARCHIVE/incrementals;
|
||||||
|
|
||||||
if [[ " ${DOS_GENERATE_DELTAS_DEVICES[@]} " =~ " ${DEVICE} " ]]; then
|
|
||||||
cp -v $OUT_DIR/$PREFIX-target_files.zip* $ARCHIVE/target_files/;
|
|
||||||
cp -v $OUT_DIR/$PREFIX-incremental_*.zip* $ARCHIVE/incrementals/ || true;
|
|
||||||
fi;
|
|
||||||
cp -v $OUT_DIR/$PREFIX-fastboot.zip* $ARCHIVE/fastboot/ || true;
|
cp -v $OUT_DIR/$PREFIX-fastboot.zip* $ARCHIVE/fastboot/ || true;
|
||||||
cp -v $OUT_DIR/$PREFIX-ota.zip* $ARCHIVE/;
|
cp -v $OUT_DIR/$PREFIX-ota.zip* $ARCHIVE/ || true;
|
||||||
cp -v $OUT_DIR/$PREFIX-recovery.img* $ARCHIVE/ || true;
|
cp -v $OUT_DIR/$PREFIX-recovery.img* $ARCHIVE/ || true;
|
||||||
|
|
||||||
rename -- "-ota." "." $ARCHIVE/$PREFIX-ota.zip*;
|
rename -- "-ota." "." $ARCHIVE/$PREFIX-ota.zip*;
|
||||||
if [[ " ${DOS_GENERATE_DELTAS_DEVICES[@]} " =~ " ${DEVICE} " ]]; then rename -- "-incremental_" "-" $ARCHIVE/incrementals/$PREFIX-incremental_*.zip*; fi;
|
if [ "$DOS_GENERATE_DELTAS" = true ];
|
||||||
|
if [[ " ${DOS_GENERATE_DELTAS_DEVICES[@]} " =~ " ${DEVICE} " ]]; then
|
||||||
|
cp -v $OUT_DIR/$PREFIX-target_files.zip* $ARCHIVE/target_files/ || true;
|
||||||
|
cp -v $OUT_DIR/$PREFIX-incremental_*.zip* $ARCHIVE/incrementals/ || true;
|
||||||
|
rename -- "-incremental_" "-" $ARCHIVE/incrementals/$PREFIX-incremental_*.zip* || true;
|
||||||
|
fi;
|
||||||
|
fi;
|
||||||
|
|
||||||
sync;
|
sync;
|
||||||
|
|
||||||
#Remove to make space for next build
|
#Remove to make space for next build
|
||||||
|
Loading…
Reference in New Issue
Block a user