diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b05e8fcc..409f04c1 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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 {