Skip to content

Commit

Permalink
Add proper tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rbro112 committed Sep 6, 2024
1 parent 71857e1 commit 26a4bd9
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/financialconnections_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ jobs:
run: ./gradlew :financial-connections-example:emergeUploadReleaseAab
env:
EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }}
EMERGE_TAG: release

1 change: 1 addition & 0 deletions .github/workflows/identity_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ jobs:
run: ./gradlew :identity-example:emergeUploadTheme1ReleaseAab
env:
EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }}
EMERGE_TAG: pull_request
3 changes: 3 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -35,3 +37,4 @@ jobs:
run: ./gradlew :paymentsheet-example:emergeUploadReleaseAab
env:
EMERGE_API_KEY: ${{ secrets.EMERGE_API_KEY }}
EMERGE_TAG: push
4 changes: 4 additions & 0 deletions financial-connections-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
10 changes: 7 additions & 3 deletions identity-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions paymentsheet-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 26a4bd9

Please sign in to comment.