mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-12 00:48:29 -04:00
fixed file path
This commit is contained in:
parent
a0c5332b44
commit
8c26fa28ef
@ -82,13 +82,18 @@ fun ProductFlavor.createPublishBundleWithExpansionTask(
|
|||||||
"$rootDir/custom/tunisie/" +
|
"$rootDir/custom/tunisie/" +
|
||||||
"release/custom-tunisie-release.aab"
|
"release/custom-tunisie-release.aab"
|
||||||
)
|
)
|
||||||
|
val generatedBundleFile2 =
|
||||||
|
File(
|
||||||
|
"$rootDir/custom/${capitalizedName.toLowerCase()}/" +
|
||||||
|
"release/custom-${capitalizedName.toLowerCase()}-release.aab"
|
||||||
|
)
|
||||||
if (generatedBundleFile.exists()) {
|
if (generatedBundleFile.exists()) {
|
||||||
uploadBundle(generatedBundleFile)
|
uploadBundle(generatedBundleFile)
|
||||||
uploadExpansionTo(file, variants[0].versionCode)
|
uploadExpansionTo(file, variants[0].versionCode)
|
||||||
attachExpansionTo(variants[0].versionCode)
|
attachExpansionTo(variants[0].versionCode)
|
||||||
addToTrackInDraft(variants[0].versionCode, versionName)
|
addToTrackInDraft(variants[0].versionCode, versionName)
|
||||||
} else {
|
} else {
|
||||||
throw FileNotFoundException("Unable to find generated aab file")
|
throw FileNotFoundException("Unable to find generated aab file generatedFile ${generatedBundleFile.path} & generatedBundleFile2 ${generatedBundleFile2.path}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user