fix build-tools path

This commit is contained in:
Akinwale Ariwodola 2018-05-09 18:33:31 +01:00
parent 84347d7424
commit fd90f37f82
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ install:
- mkdir -p ~/.buildozer/android/platform/android-sdk-23/licenses - mkdir -p ~/.buildozer/android/platform/android-sdk-23/licenses
- echo $'\nd56f5187479451eabf01fb78af6dfcb131a6481e' > ~/.buildozer/android/platform/android-sdk-23/licenses/android-sdk-license - echo $'\nd56f5187479451eabf01fb78af6dfcb131a6481e' > ~/.buildozer/android/platform/android-sdk-23/licenses/android-sdk-license
script: script:
- "source ./release.sh | grep -Fv -e 'working:' -e 'copy' --line-buffered" - "source ./release.sh | grep -Fv -e 'working:' -e 'copy' -e 'Compiling' --line-buffered"
before_deploy: before_deploy:
- cd bin - cd bin
- export BUILD_VERSION=$(cat ../src/main/python/main.py | grep --color=never -oP '([0-9]+\.?)+') - export BUILD_VERSION=$(cat ../src/main/python/main.py | grep --color=never -oP '([0-9]+\.?)+')

View file

@ -11,7 +11,7 @@ jarsigner -verbose -sigalg SHA1withRSA \
-storepass $KEYSTORE_PASSWORD \ -storepass $KEYSTORE_PASSWORD \
bin/browser-$version-release-unsigned.apk lbry-android \ bin/browser-$version-release-unsigned.apk lbry-android \
&& mv bin/browser-$version-release-unsigned.apk bin/browser-$version-release-signed.apk && mv bin/browser-$version-release-unsigned.apk bin/browser-$version-release-signed.apk
~/.buildozer/platform//SDKs/android/build-tools/26.0.1/zipalign -v 4 \ ~/.buildozer/android/platform/android-sdk-23/build-tools/26.0.1/zipalign -v 4 \
bin/browser-$version-release-signed.apk bin/browser-$version-release.apk \ bin/browser-$version-release-signed.apk bin/browser-$version-release.apk \
&& rm bin/browser-$version-release-signed.apk && rm bin/browser-$version-release-signed.apk