Merge pull request #4275 from kiwix/minor_improvement_in_uploading_aab_for_custom_aaps

Fixed: AAB file was not found when uploading to Play Store for custom apps.
This commit is contained in:
Kelson 2025-04-03 15:17:43 +02:00 committed by GitHub
commit ef9a7a2129
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -250,7 +250,7 @@ fun ProductFlavor.createPublishBundleWithAssetPlayDelivery(): TaskProvider<Task>
.transactionWithCommit(packageName) {
val generatedBundleFile =
File(
"${layout.buildDirectory}/outputs/bundle/${capitalizedName.lowercase(Locale.getDefault())}" +
"${layout.buildDirectory.get()}/outputs/bundle/${capitalizedName.lowercase(Locale.getDefault())}" +
"Release/custom-${capitalizedName.lowercase(Locale.getDefault())}-release.aab"
)
if (generatedBundleFile.exists()) {