Browse Source

fastlane: add skip_upload_apk to play store config

If there is any .apk file in the root dir of the project (like one used for testing prior to release),
the upload_to_play_store lane will pick it up and throw an error because it has both an APK and an AAB.

To fix this, tell it to ignore any APKs and only use the provided AAB.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Álvaro Brey 2 năm trước cách đây
mục cha
commit
e924e10be2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      fastlane/Fastfile

+ 1 - 0
fastlane/Fastfile

@@ -292,6 +292,7 @@ desc "Upload to play store"
 private_lane :uploadToPlaystore_Final do |options|
     upload_to_play_store(
         skip_upload_images: true,
+        skip_upload_apk: true,
         aab: "release/app-gplay-release.aab"
     )
 end