compress and upload chromium dir
This commit is contained in:
parent
ce9a807bb2
commit
4c36f34f7c
@ -3,8 +3,6 @@
|
|||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
#cd ~
|
|
||||||
|
|
||||||
#sudo apt-get install python
|
#sudo apt-get install python
|
||||||
#sudo apt-get install wiggle
|
#sudo apt-get install wiggle
|
||||||
|
|
||||||
@ -34,7 +32,6 @@ echo -e ${RED} -------- download chromium repo ${NC}
|
|||||||
mkdir ./chromium
|
mkdir ./chromium
|
||||||
cd ./chromium
|
cd ./chromium
|
||||||
|
|
||||||
echo -e ${RED} -------- download chromium repo ${NC}
|
|
||||||
gclient root
|
gclient root
|
||||||
|
|
||||||
mkdir ./src
|
mkdir ./src
|
||||||
@ -75,3 +72,12 @@ git config user.name "Your Name"
|
|||||||
echo -e ${RED} -------- running hooks ${NC}
|
echo -e ${RED} -------- running hooks ${NC}
|
||||||
sudo build/install-build-deps-android.sh
|
sudo build/install-build-deps-android.sh
|
||||||
gclient runhooks
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user