using before_deploy
This commit is contained in:
parent
8343cc2c1c
commit
c1d487a70a
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue