When compiling images, lets upload them right after they are packed ... if server is defined.
This commit is contained in:
parent
9addd2d4b6
commit
8f8b5e3e60
@ -498,7 +498,8 @@ sign_and_compress()
|
||||
if [[ $SEVENZIP == yes ]]; then
|
||||
local filename=$DEST/images/${version}.7z
|
||||
if [[ $BUILD_ALL == yes ]]; then
|
||||
nice -n 19 7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $filename ${version}.img armbian.txt *.asc sha256sum >/dev/null 2>&1
|
||||
nice -n 19 bash -c "7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $filename ${version}.img armbian.txt *.asc sha256sum >/dev/null 2>&1 \
|
||||
; [[ -n '$SEND_TO_SERVER' ]] && rsync -arP $filename -e 'ssh -p 22' $SEND_TO_SERVER"
|
||||
else
|
||||
7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $filename ${version}.img armbian.txt *.asc sha256sum >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user