diff fastlane/Fastfile @ 105:5c7b675ede8f

Fixes fastlane issues with release and beta lanes
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Wed, 04 Aug 2021 21:33:34 +0100
parents 507ed393a72c
children bee9102c2e9c
line wrap: on
line diff
--- a/fastlane/Fastfile	Wed Aug 04 21:32:37 2021 +0100
+++ b/fastlane/Fastfile	Wed Aug 04 21:33:34 2021 +0100
@@ -20,14 +20,20 @@
   desc "Push a new beta build to TestFlight"
   lane :beta do
     increment_build_number(
-      build_number: latest_testflight_build_number(
-        initial_build_number: 1,
-        version: get_version_number(xcodeproj: "Simoleon.xcodeproj"),
-        live: false
-      ) + 1,
+      build_number: latest_testflight_build_number + 1,
+      xcodeproj: "Simoleon.xcodeproj"
     )
+    
     build_app(scheme: "Simoleon")
-    upload_to_testflight
+    upload_to_testflight(
+      beta_app_review_info: {
+        contact_email: "dmartin@dennistech.io",
+        contact_first_name: "Dennis",
+        contact_last_name: "Concepcion Martin",
+        contact_phone: "+34 639 465 931",
+        notes: "Go and crash it. Thank you for reviewing <3"
+      }
+    )
   end
 
   desc "Release new version to App Store"