diff options
author | Pierre Grandin <grandinp@gmail.com> | 2018-04-22 17:12:10 -0700 |
---|---|---|
committer | Pierre Grandin <grandinp@gmail.com> | 2018-04-22 17:12:10 -0700 |
commit | 4750e31109d3c4049f4dbccd31c748fe89de9c4e (patch) | |
tree | cc44ec26a5b6e0a2bb72dcfe5747096d25856a96 | |
parent | fe7af475a7b2ce4365a89c19ccccb99edec8fa1d (diff) | |
download | navit-4750e31109d3c4049f4dbccd31c748fe89de9c4e.tar.gz |
Working on automated playstore updates
-rw-r--r-- | .circleci/config.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index a7373bbf7..d5e21f30d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,6 +55,10 @@ jobs: bash ci/build_android.sh - store_artifacts: path: android-arm/navit/android/bin + - save_cache: + key : navit-android-arm-{{ .Revision }} + paths: + - ./android-arm/navit/android/bin - run: name: Update Navit-Download-Center command: | @@ -170,6 +174,14 @@ jobs: - run: name: Update results to Github command: export GIT_TERMINAL_PROMPT=0 && git push origin $CIRCLE_SHA1:refs/heads/master + upload_to_googleplay: + <<: *defaults + steps: + - save_cache: + key : navit-android-arm-{{ .Revision }} + - run: + name: Update beta channel on PlayStore + command: bash ci/publish.sh workflows: version: 2 build_all: @@ -205,3 +217,9 @@ workflows: filters: branches: only: /^trunk$/ + - upload_to_googleplay: + requires: + - build_android_arm + filters: + branches: + only: /^googleplay_upload$/ |