diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index e7d6247c..94503933 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -20,7 +20,11 @@ platform :ios do skip_certificate_matching: true ) - previous_build_number = latest_testflight_build_number + increment_version_number( + version_number: File.read("../iosVersion.txt") + ) + + previous_build_number = latest_testflight_build_number(initial_build_number: 0, version: File.read("../iosVersion.txt")) current_build_number = previous_build_number + 1 diff --git a/ios/iosVersion.txt b/ios/iosVersion.txt new file mode 100644 index 00000000..64b5ae39 --- /dev/null +++ b/ios/iosVersion.txt @@ -0,0 +1 @@ +4.4.0 \ No newline at end of file