Skip to content

Commit

Permalink
Make sure to only commit once: Triple-T/gradle-play-publisher#217 (#1…
Browse files Browse the repository at this point in the history
…781)
  • Loading branch information
zarakarlsson628 committed Oct 14, 2021
1 parent e85f8db commit a9332fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/weekly.yaml
Expand Up @@ -58,7 +58,7 @@ jobs:
KEYSTORE_ALIAS_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_ALIAS_PASSWORD }}
VERSION: ${{ steps.rel_number.outputs.version }}
VERSION_CODE: ${{ steps.rel_number.outputs.version-code }}
run: ./gradlew bundleFullRelease
run: ./gradlew :app:bundleFullRelease :wear:bundleRelease

- name: Check for build need
run: |
Expand Down
2 changes: 2 additions & 0 deletions app/build.gradle.kts
Expand Up @@ -114,6 +114,8 @@ play {
serviceAccountCredentials.set(file("playStorePublishServiceCredentialsFile.json"))
track.set("beta")
resolutionStrategy.set(ResolutionStrategy.IGNORE)
// We will depend on the wear commit.
commit.set(false)
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions wear/build.gradle.kts
Expand Up @@ -68,6 +68,7 @@ play {
serviceAccountCredentials.set(file("playStorePublishServiceCredentialsFile.json"))
track.set("beta")
resolutionStrategy.set(com.github.triplet.gradle.androidpublisher.ResolutionStrategy.IGNORE)
commit.set(true)
}

dependencies {
Expand Down

0 comments on commit a9332fd

Please sign in to comment.