changeset 88:88caa2e8573b

Fixes increment build number
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Mon, 02 Aug 2021 21:27:56 +0100
parents e0f1c852b9e0
children 05983a9275c1 6328724d7fbc
files Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate SimoleonTests/Info.plist SimoleonUITests/Info.plist fastlane/Fastfile
diffstat 4 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
Binary file Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/SimoleonTests/Info.plist	Mon Aug 02 18:18:24 2021 +0100
+++ b/SimoleonTests/Info.plist	Mon Aug 02 21:27:56 2021 +0100
@@ -17,6 +17,6 @@
 	<key>CFBundleShortVersionString</key>
 	<string>1.0</string>
 	<key>CFBundleVersion</key>
-	<string>1</string>
+	<string>2</string>
 </dict>
 </plist>
--- a/SimoleonUITests/Info.plist	Mon Aug 02 18:18:24 2021 +0100
+++ b/SimoleonUITests/Info.plist	Mon Aug 02 21:27:56 2021 +0100
@@ -17,6 +17,6 @@
 	<key>CFBundleShortVersionString</key>
 	<string>1.0</string>
 	<key>CFBundleVersion</key>
-	<string>1</string>
+	<string>2</string>
 </dict>
 </plist>
--- a/fastlane/Fastfile	Mon Aug 02 18:18:24 2021 +0100
+++ b/fastlane/Fastfile	Mon Aug 02 21:27:56 2021 +0100
@@ -18,7 +18,13 @@
 platform :ios do
   desc "Push a new beta build to TestFlight"
   lane :beta do
-    increment_build_number(xcodeproj: "Simoleon.xcodeproj")
+    increment_build_number(
+      build_number: latest_testflight_build_number(
+        initial_build_number: 1,
+        version: get_version_number(xcodeproj: "Simoleon.xcodeproj"),
+        live: false
+      ) + 1,
+    )
     build_app(scheme: "Simoleon")
     upload_to_testflight
   end