From 612651125ac26c39ff9a9d48022723f6e78b9a0b Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 16 Jan 2025 20:31:05 +1100 Subject: [PATCH] test mode values place holder branch --- .../helper/ddg_apple_automation_helper.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb index c4ff70a..b19c6b1 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb @@ -260,7 +260,7 @@ def self.increment_build_number(platform, options, other_action) end def self.calculate_next_build_number(platform, options, other_action) - testflight_build_number = 1 # fetch_testflight_build_number(platform, options, other_action) + testflight_build_number = fetch_testflight_build_number(platform, options, other_action) xcodeproj_build_number = current_build_number if platform == "macos" appcast_build_number = fetch_appcast_build_number(platform) @@ -311,7 +311,8 @@ def self.fetch_testflight_build_number(platform, options, other_action) other_action.latest_testflight_build_number( api_key: get_api_key(other_action), username: get_username(options), - platform: platform == "macos" ? "osx" : "ios" + platform: platform == "macos" ? "osx" : "ios", + app_identifier: options[:app_identifier] ) end