From 7175b8066921527010d676a46a6ccd8e3378d14a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 4 Apr 2019 15:07:11 +0100 Subject: [PATCH] Output information about issue created for forward merge See gh-16458 --- git/hooks/forward-merge | 1 + 1 file changed, 1 insertion(+) diff --git a/git/hooks/forward-merge b/git/hooks/forward-merge index 3e29685e1d..3ae02e1031 100755 --- a/git/hooks/forward-merge +++ b/git/hooks/forward-merge @@ -82,5 +82,6 @@ username = config['github']['credentials']['username'] password = config['github']['credentials']['password'] dry_run = config['dry_run'] new_issue_number = create_issue(username, password, repository, forward_merge.issue, title, labels, milestone, dry_run) +puts "Created gh-#{new_issue_number} for forward merge of gh-#{forward_merge.issue} into #{forward_merge.milestone}" rewritten_message = forward_merge.message.sub(forward_merge.line, "Closes gh-#{new_issue_number}") File.write(message_file, rewritten_message)