before_deploy tweak

This commit is contained in:
Akinwale Ariwodola 2018-05-09 18:10:34 +01:00
parent c1d487a70a
commit 84347d7424

View file

@ -46,7 +46,7 @@ script:
- "source ./release.sh | grep -Fv -e 'working:' -e 'copy' --line-buffered" - "source ./release.sh | grep -Fv -e 'working:' -e 'copy' --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]+\.?)+')
deploy: deploy:
provider: releases provider: releases
api_key: $GITHUB_TOKEN api_key: $GITHUB_TOKEN