mirror of
https://github.com/home-assistant/android
synced 2024-10-04 15:19:30 +00:00
Try something else for publishing.
This commit is contained in:
parent
23329d90cb
commit
cbf217c51a
4
.github/workflows/weekly.yaml
vendored
4
.github/workflows/weekly.yaml
vendored
|
@ -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 :app:bundleFullRelease :wear:bundleRelease
|
||||
run: ./gradlew bundleRelease
|
||||
|
||||
- name: Check for build need
|
||||
run: |
|
||||
|
@ -75,4 +75,4 @@ 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 :app:publishFullReleaseBundle :wear:publishReleaseBundle || echo "Issue uploading Release, may just be nothing has changed"
|
||||
run: ./gradlew publishReleaseBundle || echo "Issue uploading Release, may just be nothing has changed"
|
||||
|
|
|
@ -115,7 +115,7 @@ play {
|
|||
track.set("beta")
|
||||
resolutionStrategy.set(ResolutionStrategy.IGNORE)
|
||||
// We will depend on the wear commit.
|
||||
commit.set(false)
|
||||
commit.set(true)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -30,6 +30,12 @@ allprojects {
|
|||
}
|
||||
}
|
||||
|
||||
gradle.projectsEvaluated {
|
||||
project(":app").tasks.matching { it.name.startsWith("publish") }.configureEach {
|
||||
mustRunAfter(project(":wear").tasks.matching { it.name.startsWith("publish") })
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("clean").configure {
|
||||
delete("build")
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ play {
|
|||
serviceAccountCredentials.set(file("playStorePublishServiceCredentialsFile.json"))
|
||||
track.set("beta")
|
||||
resolutionStrategy.set(com.github.triplet.gradle.androidpublisher.ResolutionStrategy.IGNORE)
|
||||
commit.set(true)
|
||||
commit.set(false)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Reference in a new issue