mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-04 03:06:41 -04:00
Set playstore track from alpha to internal
This commit is contained in:
parent
7b96241950
commit
50d0941fc3
@ -93,7 +93,7 @@ android {
|
|||||||
play {
|
play {
|
||||||
enabled.set(true)
|
enabled.set(true)
|
||||||
serviceAccountCredentials.set(file("../playstore.json"))
|
serviceAccountCredentials.set(file("../playstore.json"))
|
||||||
track.set("alpha")
|
track.set("internal")
|
||||||
releaseStatus.set(com.github.triplet.gradle.androidpublisher.ReleaseStatus.DRAFT)
|
releaseStatus.set(com.github.triplet.gradle.androidpublisher.ReleaseStatus.DRAFT)
|
||||||
resolutionStrategy.set(com.github.triplet.gradle.androidpublisher.ResolutionStrategy.FAIL)
|
resolutionStrategy.set(com.github.triplet.gradle.androidpublisher.ResolutionStrategy.FAIL)
|
||||||
}
|
}
|
||||||
|
@ -99,13 +99,13 @@ class Transaction(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun addToTrackInDraft(apkVariants: List<ApkVariantOutput>): Track =
|
fun addToTrackInDraft(apkVariants: List<ApkVariantOutput>): Track =
|
||||||
publisher.edits().tracks().update(packageName, editId, "alpha", Track().apply {
|
publisher.edits().tracks().update(packageName, editId, "internal", Track().apply {
|
||||||
releases = listOf(TrackRelease().apply {
|
releases = listOf(TrackRelease().apply {
|
||||||
status = "draft"
|
status = "draft"
|
||||||
name = apkVariants[0].versionNameOverride
|
name = apkVariants[0].versionNameOverride
|
||||||
versionCodes = apkVariants.map { it.versionCodeOverride.toLong() }
|
versionCodes = apkVariants.map { it.versionCodeOverride.toLong() }
|
||||||
})
|
})
|
||||||
track = "alpha"
|
track = "internal"
|
||||||
}).execute().prettyPrint()
|
}).execute().prettyPrint()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user