remove headers file and dynamically download for build

This commit is contained in:
Akinwale Ariwodola 2019-12-11 16:15:16 +01:00
parent 032a1927db
commit 156507f8f7
3 changed files with 2 additions and 1 deletions

2
.gitignore vendored
View file

@ -6,6 +6,7 @@ bin
buildozer.spec
build.log
recipes/**/*.pyc
src/main/assets/blockchain/headers
src/main/assets/index.android.bundle
src/main/assets/index.android.bundle.meta
*.log
@ -14,4 +15,3 @@ src/main/assets/index.android.bundle.meta
lbry-android.keystore
p4a/pythonforandroid/bootstraps/lbry/build/templates/google-services.json
.gitsecret/keys/random_seed

View file

@ -61,6 +61,7 @@ build arm apk:
- rm ~/.buildozer/android/crystax-ndk-10.3.2-linux-x86_64.tar.xz
- git secret reveal
- mv buildozer.spec.arm.ci buildozer.spec
- wget -q https://headers.lbry.io/blockchain_headers_latest -O $CI_PROJECT_DIR/src/main/assets/blockchain/headers
- "./release.sh | grep -Fv -e 'working:' -e 'copy' -e 'Compiling' --line-buffered"
- cp $CI_PROJECT_DIR/bin/browser-$BUILD_VERSION-release.apk $CI_PROJECT_DIR/bin/browser-$BUILD_VERSION-release__arm.apk
- cp $CI_PROJECT_DIR/bin/browser-$BUILD_VERSION-release.apk /dev/null

Binary file not shown.