Skip to content

Commit 36a035c

Browse files
committed
Fixing uploadBundleToInternalAppSharing validation
1 parent 419548a commit 36a035c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = '4.0.1'
1+
version = '4.0.2'
22

33
ext.GITHUB_REPOSITORY_NAME = "google-play-api"
44

google-play-api-kotlin/src/main/java/com/dipien/google/play/api/PublishingService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ class PublishingService {
594594

595595
fun uploadBundleToInternalAppSharing(app: App): InternalAppSharingArtifact {
596596
return try {
597-
if (app.bundleDir.isNullOrEmpty() && app.bundleDir.isNullOrEmpty()) {
597+
if (app.bundleDir.isNullOrEmpty() && app.bundlePath.isNullOrEmpty()) {
598598
throw RuntimeException("bundleDir and bundlePath cannot be both null or empty!")
599599
}
600600
val bundleFile = getBundleFile(app)

0 commit comments

Comments
 (0)