Travis CI deployment to AWS and Github releases #114

Merged
akinwale merged 22 commits from deployment into master 2018-05-09 20:26:58 +02:00
Showing only changes of commit c1d487a70a - Show all commits

View file

@ -44,11 +44,13 @@ install:
- echo $'\nd56f5187479451eabf01fb78af6dfcb131a6481e' > ~/.buildozer/android/platform/android-sdk-23/licenses/android-sdk-license
script:
- "source ./release.sh | grep -Fv -e 'working:' -e 'copy' --line-buffered"
- "echo Build Version: $BUILD_VERSION"
before_deploy:
- cd bin
- export BUILD_VERSION=$(cat src/main/python/main.py | grep --color=never -oP '([0-9]+\.?)+')
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file: "bin/browser-$BUILD_VERSION-release.apk"
file: browser-$BUILD_VERSION-release.apk
overwrite: true
skip_cleanup: true
on: