Skip to content

Commit

Permalink
#1175 add automatic deployment of draft releases to github
Browse files Browse the repository at this point in the history
  • Loading branch information
macgills committed May 30, 2019
1 parent 19c43f5 commit 76cd88b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,19 @@ after_failure:
- lynx --dump ${LOG_DIR}com.android.builder.testing.html
- lynx -dump ${LOG_DIR}org.kiwix.kiwixmobile.tests.BasicTest.html;
- echo " LOGCAT "; echo "========"; cat logcat.log; pkill -KILL -f adb

before_deploy:
- export APP_CHANGELOG=$(cat app/src/kiwix/play/release-notes/en-US/default.txt)

deploy:
- provider: releases
api_key: "$GITHUB_TOKEN"
file: app/build/outputs/apk/kiwix/release/*
file_glob: true
skip_cleanup: true
overwrite: true
body: "$APP_CHANGELOG"
draft: true
on:
tags: true
branch: release
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -457,4 +457,4 @@ testdroid {
fullRunConfig {
instrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
}
}
}

0 comments on commit 76cd88b

Please sign in to comment.