mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
Merge pull request #1265 from kiwix/feature/macgills/#1214-nightly-and-release-uploads
#1214 upload debug nightlies and tagged releases to download.kiwix.org
This commit is contained in:
commit
d1c9be033d
17
.travis.yml
17
.travis.yml
@ -71,8 +71,10 @@ after_failure:
|
|||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
# - export APP_CHANGELOG=$(cat app/src/kiwix/play/release-notes/en-US/default.txt)
|
# - export APP_CHANGELOG=$(cat app/src/kiwix/play/release-notes/en-US/default.txt)
|
||||||
- export DATE = `date +%Y-%m-%d`
|
- export DATE=$(date +%Y-%m-%d)
|
||||||
- export UNIVERSAL_APK = app/build/outputs/apk/kiwix/release/*universal*.apk
|
- export OUTPUT_DIR=app/build/outputs/apk/kiwix
|
||||||
|
- export UNIVERSAL_RELEASE_APK=$OUTPUT_DIR/release/*universal*.apk
|
||||||
|
- export UNIVERSAL_DEBUG_APK=$OUTPUT_DIR/debug/*universal*.apk
|
||||||
- export SSH_KEY=travis_ci_builder_id_key
|
- export SSH_KEY=travis_ci_builder_id_key
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@ -96,9 +98,16 @@ deploy:
|
|||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
#publish on download.kiwix.org
|
#publish release on download.kiwix.org
|
||||||
- provider: script
|
- provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no $UNIVERSAL_APK ci@download.kiwix.org:/data/download/nightly/$DATE
|
script: scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no $UNIVERSAL_RELEASE_APK ci@download.kiwix.org:/data/download/release/kiwix-android/$TRAVIS_TAG
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
|
||||||
|
#publish debug nightly on download.kiwix.org
|
||||||
|
- provider: script
|
||||||
|
skip_cleanup: true
|
||||||
|
script: scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no $UNIVERSAL_DEBUG_APK ci@download.kiwix.org:/data/download/nightly/$DATE
|
||||||
on:
|
on:
|
||||||
branch: develop
|
branch: develop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user