Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Added CircleCI command to create google services json file in Release…
Browse files Browse the repository at this point in the history
… job (#1166)
  • Loading branch information
Langston Smith authored Aug 9, 2019
1 parent 34f5b5f commit 07df51c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ jobs:
command: |
#!/bin/bash
echo "${PLAY_PUBLISH_AUTH_JSON}" > android-gl-native-6d21dd280e7b.json
- run:
name: Create google-services.json file
shell: /bin/bash -euo pipefail
command: |
if [ -n "${GOOGLE_SERVICES_JSON_RELEASE}" ]; then
echo "${GOOGLE_SERVICES_JSON_RELEASE}" > MapboxAndroidDemo/google-services.json
fi
- run:
name: Release to Google Play
command: ./gradlew publishGlobalRelease
Expand Down

0 comments on commit 07df51c

Please sign in to comment.