Skip to content

Commit

Permalink
Add more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Sep 15, 2024
1 parent 4a5a919 commit 04a58f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def self.create_tag_and_github_release(is_prerelease, github_token)
end

def self.report_status(params)
UI.message("Reporting status to Asana using params: #{params}")
template_args = {}
template_args['tag'] = params[:tag]
template_args['promoted_tag'] = params[:promoted_tag]
Expand Down
2 changes: 2 additions & 0 deletions lib/fastlane/plugin/ddg_apple_automation/helper/git_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def self.merge_branch(repo_name, branch, base_branch, github_token)
client = Octokit::Client.new(access_token: github_token)
begin
client.merge(repo_name, base_branch, branch)
UI.success("Merged #{branch} branch to #{base_branch}")
rescue StandardError => e
UI.important("Failed to merge #{branch} branch to #{base_branch}: #{e}")
raise e
Expand All @@ -42,6 +43,7 @@ def self.delete_branch(repo_name, branch, github_token)
client = Octokit::Client.new(access_token: github_token)
begin
client.delete_branch(repo_name, branch)
UI.success("Deleted #{branch}")
rescue StandardError => e
UI.important("Failed to delete #{branch}: #{e}")
raise e
Expand Down

0 comments on commit 04a58f2

Please sign in to comment.