Skip to content

Commit

Permalink
test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kshann committed Jan 9, 2025
1 parent 2f21ce3 commit fa51d4f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ 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], is_hotfix: options[:is_hotfix])
options[:release_task_id] = release_task_id
# 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]
# Helper::AsanaHelper.update_asana_tasks_for_internal_release(options) unless params[:is_hotfix]
end

def self.description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ class DdgAppleAutomationHelper
])
}.freeze

if ENV['TEST_MODE']
RELEASE_BRANCH = 'test-release'
HOTFIX_BRANCH = 'test-hotfix'
end

def self.code_freeze_prechecks(other_action)
other_action.ensure_git_status_clean
other_action.ensure_git_branch(branch: DEFAULT_BRANCH)
Expand Down

0 comments on commit fa51d4f

Please sign in to comment.