Skip to content

Commit

Permalink
test values
Browse files Browse the repository at this point in the history
  • Loading branch information
kshann committed Nov 21, 2024
1 parent 1299996 commit e9af673
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}"
Expand Down

0 comments on commit e9af673

Please sign in to comment.