quick fix versionCode override

This commit is contained in:
Gouri Panda 2023-10-19 02:07:09 +05:30
parent d446515128
commit bba0980d06

View File

@ -51,6 +51,7 @@ android {
createDownloadTaskForPlayAssetDelivery(file) createDownloadTaskForPlayAssetDelivery(file)
} }
} }
downloadTaskDeferred.await()
val bundleTaskDeferred = async { val bundleTaskDeferred = async {
withContext(Dispatchers.Default) { withContext(Dispatchers.Default) {
@ -58,7 +59,6 @@ android {
} }
} }
downloadTaskDeferred.await()
bundleTaskDeferred.await() bundleTaskDeferred.await()
} }
@ -229,7 +229,7 @@ fun ProductFlavor.createPublishBundleWithAssetPlayDelivery(): Task {
) )
if (generatedBundleFile.exists()) { if (generatedBundleFile.exists()) {
uploadBundle(generatedBundleFile) uploadBundle(generatedBundleFile)
addBundleToTrackInDraft(7233100, versionName) addBundleToTrackInDraft("8$versionCode".toInt(), versionName)
} else { } else {
throw FileNotFoundException("Unable to find generated aab file") throw FileNotFoundException("Unable to find generated aab file")
} }