From 55f49970b68c3e58db876cae02a8fa299d47e158 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Wed, 2 Oct 2024 23:59:59 -0400 Subject: [PATCH] Fix platform parameter in latest_testflight_build_number --- .../ddg_apple_automation/helper/ddg_apple_automation_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 15987c3..6ff5f81 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 @@ -239,7 +239,7 @@ 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 + platform: platform == "macos" ? "osx" : "ios" ) end