From 4c36f34f7c57a7b55cdeec35e839cc7cf2ea4b9c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 29 May 2021 07:08:07 +0000 Subject: [PATCH] compress and upload chromium dir --- prepare-build.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/prepare-build.sh b/prepare-build.sh index 79fe262..a163560 100644 --- a/prepare-build.sh +++ b/prepare-build.sh @@ -3,8 +3,6 @@ RED='\033[0;31m' NC='\033[0m' # No Color -#cd ~ - #sudo apt-get install python #sudo apt-get install wiggle @@ -34,7 +32,6 @@ echo -e ${RED} -------- download chromium repo ${NC} mkdir ./chromium cd ./chromium -echo -e ${RED} -------- download chromium repo ${NC} gclient root mkdir ./src @@ -75,3 +72,12 @@ git config user.name "Your Name" echo -e ${RED} -------- running hooks ${NC} sudo build/install-build-deps-android.sh gclient runhooks + +echo -e ${RED} -------- packing chromium dir ${NC} +cd ../.. +tar -czf chromium.$VERSION_SHA.tar.gz ./chromium + +echo -e ${RED} -------- uploading to storage ${NC} +lftp $FTP_HOST -u $FTP_USER,$FTP_PWD -e "set ftp:ssl-force true; set ssl:verify-certificate false; cd /bromite; put chromium.$VERSION_SHA.tar.gz; quit" +rm chromium.$VERSION_SHA.tar.gz +