diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b9d3fb3907..d05a816f226 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,7 @@ jobs: run: ./gradlew :paymentsheet-example:emergeUploadReleaseAab env: EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }} + EMERGE_TAG: pull_request check-for-untranslated-strings: name: Check for untranslated strings diff --git a/.github/workflows/financialconnections_pull_request.yml b/.github/workflows/financialconnections_pull_request.yml index 355b7e7d38d..fc7d60b8e6d 100644 --- a/.github/workflows/financialconnections_pull_request.yml +++ b/.github/workflows/financialconnections_pull_request.yml @@ -12,4 +12,5 @@ jobs: run: ./gradlew :financial-connections-example:emergeUploadReleaseAab env: EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }} + EMERGE_TAG: release diff --git a/.github/workflows/identity_pull_request.yml b/.github/workflows/identity_pull_request.yml index 81cc037796c..4192a8522b5 100644 --- a/.github/workflows/identity_pull_request.yml +++ b/.github/workflows/identity_pull_request.yml @@ -90,3 +90,4 @@ jobs: run: ./gradlew :identity-example:emergeUploadTheme1ReleaseAab env: EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }} + EMERGE_TAG: pull_request diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 29c27c7e096..256a93e0879 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -17,6 +17,7 @@ jobs: run: ./gradlew :identity-example:emergeUploadReleaseAab env: EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }} + EMERGE_TAG: push upload-financial-connections: runs-on: ubuntu-latest steps: @@ -26,6 +27,7 @@ jobs: run: ./gradlew :financial-connections-example:emergeUploadReleaseAab env: EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }} + EMERGE_TAG: push upload-payment-sheet: runs-on: ubuntu-latest steps: @@ -35,3 +37,4 @@ jobs: run: ./gradlew :paymentsheet-example:emergeUploadReleaseAab env: EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }} + EMERGE_TAG: push diff --git a/financial-connections-example/build.gradle b/financial-connections-example/build.gradle index a3ecd3682d0..ff5a0771644 100644 --- a/financial-connections-example/build.gradle +++ b/financial-connections-example/build.gradle @@ -10,6 +10,10 @@ def testEnvironment = System.getenv("test_environment") ?: "production" emerge { apiToken.set(System.getenv("EMERGE_API_KEY")) + size { + tag.set(System.getenv("EMERGE_TAG")) + } + vcs { gitHub { repoOwner.set("EmergeTools") diff --git a/identity-example/build.gradle b/identity-example/build.gradle index a1b4e530cd8..ff4f79d1c20 100644 --- a/identity-example/build.gradle +++ b/identity-example/build.gradle @@ -6,12 +6,16 @@ apply plugin: 'org.jetbrains.kotlin.plugin.serialization' assemble.dependsOn('lint') emerge { - apiToken.set(System.getenv("EMERGE_API_KEY")) + apiToken = System.getenv("EMERGE_API_KEY") + + size { + tag.set(System.getenv("EMERGE_TAG")) + } vcs { gitHub { - repoOwner.set("EmergeTools") - repoName.set("stripe-android") + repoOwner = "EmergeTools" + repoName = "stripe-android" } } } diff --git a/paymentsheet-example/build.gradle b/paymentsheet-example/build.gradle index d51eeaf2992..38fc5e94263 100644 --- a/paymentsheet-example/build.gradle +++ b/paymentsheet-example/build.gradle @@ -16,6 +16,10 @@ def getGooglePlacesApiKey() { emerge { apiToken.set(System.getenv("EMERGE_API_KEY")) + size { + tag.set(System.getenv("EMERGE_TAG")) + } + vcs { gitHub { repoOwner.set("EmergeTools")