From e9af673fa1e0095c2ec62f4d3c85c853e8abd734 Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 21 Nov 2024 20:46:10 +1100 Subject: [PATCH] test values --- .../ddg_apple_automation/actions/start_new_release_action.rb | 2 +- .../plugin/ddg_apple_automation/helper/asana_helper.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fastlane/plugin/ddg_apple_automation/actions/start_new_release_action.rb b/lib/fastlane/plugin/ddg_apple_automation/actions/start_new_release_action.rb index 167f239..f99136e 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/actions/start_new_release_action.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/actions/start_new_release_action.rb @@ -29,7 +29,7 @@ def self.run(params) options[:version] = new_version options[:release_branch_name] = release_branch_name - release_task_id = Helper::AsanaHelper.create_release_task(options[:platform], options[:version], options[:asana_user_id], options[:asana_access_token], options[:is_hotfix]) + release_task_id = Helper::AsanaHelper.create_release_task(options[:platform], options[:version], options[:asana_user_id], options[:asana_access_token], is_hotfix: options[:is_hotfix]) options[:release_task_id] = release_task_id Helper::AsanaHelper.update_asana_tasks_for_internal_release(options) unless params[:is_hotfix] diff --git a/lib/fastlane/plugin/ddg_apple_automation/helper/asana_helper.rb b/lib/fastlane/plugin/ddg_apple_automation/helper/asana_helper.rb index eead922..b9a8535 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/helper/asana_helper.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/helper/asana_helper.rb @@ -129,7 +129,7 @@ def self.upload_file_to_asana_task(task_id, file_path, asana_access_token) end end - def self.release_template_task_id(platform, is_hotfix: false) + def self.release_template_task_id(platform, is_hotfix) case platform when "ios" is_hotfix ? IOS_HOTFIX_TASK_TEMPLATE_ID : IOS_RELEASE_TASK_TEMPLATE_ID @@ -140,7 +140,7 @@ def self.release_template_task_id(platform, is_hotfix: false) end end - def self.release_task_name(version, platform, is_hotfix: false) + def self.release_task_name(version, platform, is_hotfix) case platform when "ios" is_hotfix ? "iOS App Hotfix Release #{version}" : "iOS App Release #{version}"