Output information about issue created for forward merge

See gh-16458
pull/16472/head
Andy Wilkinson 6 years ago
parent fbb5ffe0a4
commit 7175b80669

@ -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)

Loading…
Cancel
Save