mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Changed secret key as PLAYSTORE_JSON
We have updated the release.yml file to use the new PLAYSTORE_JSON secret key instead of the google_json secret key that was previously used to get credentials. As part of this update, we have renamed the google.json file to playstore.json for better naming consistency with the new secret key.
This commit is contained in:
parent
2c3980ac3c
commit
aee9d28d9d
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -26,10 +26,10 @@ jobs:
|
||||
- name: Decrypt files
|
||||
env:
|
||||
keystore: ${{ secrets.keystore }}
|
||||
google_json: ${{ secrets.google_json }}
|
||||
playstore_json: ${{ secrets.PLAYSTORE_JSON }}
|
||||
ssh_key: ${{ secrets.ssh_key }}
|
||||
run: |
|
||||
echo "$google_json" | base64 -d > google.json
|
||||
echo "$playstore_json" > playstore.json
|
||||
echo "$keystore" | base64 -d > kiwix-android.keystore
|
||||
echo "$ssh_key" | base64 -d > ssh_key
|
||||
chmod 600 ssh_key
|
||||
|
@ -92,7 +92,7 @@ android {
|
||||
|
||||
play {
|
||||
enabled.set(true)
|
||||
serviceAccountCredentials.set(file("../google.json"))
|
||||
serviceAccountCredentials.set(file("../playstore.json"))
|
||||
track.set("alpha")
|
||||
releaseStatus.set(com.github.triplet.gradle.androidpublisher.ReleaseStatus.DRAFT)
|
||||
resolutionStrategy.set(com.github.triplet.gradle.androidpublisher.ResolutionStrategy.FAIL)
|
||||
|
@ -15,7 +15,12 @@ dependencies {
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0")
|
||||
implementation("org.jacoco:org.jacoco.core:0.8.8")
|
||||
implementation("org.jlleitschuh.gradle:ktlint-gradle:10.3.0")
|
||||
implementation("com.google.apis:google-api-services-androidpublisher:v3-rev129-1.25.0")
|
||||
implementation("com.google.apis:google-api-services-androidpublisher:v3-rev20230406-2.0.0") {
|
||||
exclude(group = "com.google.guava", module = "guava")
|
||||
}
|
||||
implementation("com.google.http-client:google-http-client-jackson2:1.40.0") {
|
||||
exclude(group = "com.google.guava", module = "guava")
|
||||
}
|
||||
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0")
|
||||
implementation("com.googlecode.json-simple:json-simple:1.1")
|
||||
|
||||
|
@ -72,7 +72,7 @@ fun ProductFlavor.createPublishApkWithExpansionTask(
|
||||
doLast {
|
||||
val packageName = "org.kiwix$applicationIdSuffix"
|
||||
println("packageName $packageName")
|
||||
createPublisher(File(rootDir, "google.json"))
|
||||
createPublisher(File(rootDir, "playstore.json"))
|
||||
.transactionWithCommit(packageName) {
|
||||
val variants =
|
||||
applicationVariants.releaseVariantsFor(this@createPublishApkWithExpansionTask)
|
||||
|
@ -171,4 +171,4 @@
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user