Skip to content

Commit

Permalink
Update google-services.json to match latest application ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwu1105 committed Oct 5, 2020
1 parent c32f982 commit 7ada21d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/production-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,24 @@ on:
types: [released]

jobs:
alpha-track:
beta-track:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Extract branch name
id: extract_branch
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"

- name: Set up JDK
if: steps.extract_branch.outputs.branch == 'develop'
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Test and build internal-release bundle (AAB)
if: steps.extract_branch.outputs.branch == 'develop'
env:
NUMBERS_STORAGE_BASE_URL: ${{ secrets.NUMBERS_STORAGE_BASE_URL }}
run: |
./gradlew testInternalRelease
./gradlew bundleInternalRelease
- name: Sign AAB
id: sign_aab
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: ./app/build/outputs/bundle/internalRelease
Expand All @@ -47,4 +40,4 @@ jobs:
serviceAccountJson: service_account.json
packageName: io.numbersprotocol.starlingcapture
releaseFile: ./app/build/outputs/bundle/internalRelease/app-internal-release.aab
track: alpha
track: beta
4 changes: 0 additions & 4 deletions .github/workflows/qa-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ jobs:
./gradlew bundleMasterRelease
- name: Sign AAB
id: sign_aab
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: ./app/build/outputs/bundle/masterRelease
Expand All @@ -120,7 +119,6 @@ jobs:
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Create service_account.json
id: createServiceAccount
run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json

- name: Deploy to Play Store (internal)
Expand Down Expand Up @@ -155,7 +153,6 @@ jobs:
./gradlew bundleInternalRelease
- name: Sign AAB
id: sign_aab
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: ./app/build/outputs/bundle/internalRelease
Expand All @@ -165,7 +162,6 @@ jobs:
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Create service_account.json
id: createServiceAccount
run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json

- name: Deploy to Play Store (internal)
Expand Down
12 changes: 6 additions & 6 deletions app/src/internal/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:651046991800:android:96ff716b9dd6a1ed13c14d",
"mobilesdk_app_id": "1:651046991800:android:9320aca7a30912a213c14d",
"android_client_info": {
"package_name": "io.numbersprotocol.starlingcapture.internal"
"package_name": "io.numbersprotocol.starlingcapture"
}
},
"oauth_client": [
Expand All @@ -37,9 +37,9 @@
},
{
"client_info": {
"mobilesdk_app_id": "1:651046991800:android:6b678c68b9433dba13c14d",
"mobilesdk_app_id": "1:651046991800:android:5088e055830f238d13c14d",
"android_client_info": {
"package_name": "io.numbersprotocol.starlingcapture.internal.debug"
"package_name": "io.numbersprotocol.starlingcapture.debug"
}
},
"oauth_client": [
Expand All @@ -66,9 +66,9 @@
},
{
"client_info": {
"mobilesdk_app_id": "1:651046991800:android:b344f4a35733091313c14d",
"mobilesdk_app_id": "1:651046991800:android:dae2259fcabf5f2513c14d",
"android_client_info": {
"package_name": "io.numbersprotocol.starlingcapture.internal.qa"
"package_name": "io.numbersprotocol.starlingcapture.qa"
}
},
"oauth_client": [
Expand Down

0 comments on commit 7ada21d

Please sign in to comment.