Skip to content

Commit

Permalink
Updating file path after setting them
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuppan committed Jun 6, 2024
1 parent 25c6070 commit 8658e9e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,17 @@ if (playStorePublisher.exists()) {
val playStoreTrack = System.getenv()["PLAYSTORE_TRACK"] ?: "beta"
val playStoreReleaseStatus =
runCatching {
ReleaseStatus.valueOf(
System.getenv()["PLAYSTORE_RELEASE_STATUS".uppercase()] ?: ReleaseStatus.DRAFT.name
)
ReleaseStatus.valueOf(System.getenv()["PLAYSTORE_RELEASE_STATUS".uppercase()] ?: "")
}.getOrNull() ?: ReleaseStatus.DRAFT

println("----- $playStoreTrack & $playStoreReleaseStatus-----")

android {
play {
serviceAccountCredentials = playStorePublisher
serviceAccountCredentials.set(playStorePublisher)
track.set(playStoreTrack)
releaseStatus.set(playStoreReleaseStatus)
println(serviceAccountCredentials.get().asFile.absolutePath)
}
}
} else {
Expand Down

0 comments on commit 8658e9e

Please sign in to comment.