Merge branch 'pretty-print' into develop
Conflicts: lib/github_changelog_generator.rb
This commit is contained in:
commit
1bc2e64e28
|
@ -74,7 +74,7 @@ module GitHubChangelogGenerator
|
||||||
print " \r"
|
print " \r"
|
||||||
|
|
||||||
if @options[:verbose]
|
if @options[:verbose]
|
||||||
puts "Received closed pull requests: #{pull_requests.count}"
|
puts "Received pull requests: #{pull_requests.count}"
|
||||||
end
|
end
|
||||||
|
|
||||||
pull_requests
|
pull_requests
|
||||||
|
@ -120,9 +120,6 @@ module GitHubChangelogGenerator
|
||||||
end
|
end
|
||||||
|
|
||||||
def compund_changelog
|
def compund_changelog
|
||||||
if @options[:verbose]
|
|
||||||
puts 'Generating changelog...'
|
|
||||||
end
|
|
||||||
|
|
||||||
log = "# Changelog\n\n"
|
log = "# Changelog\n\n"
|
||||||
|
|
||||||
|
@ -429,23 +426,18 @@ module GitHubChangelogGenerator
|
||||||
print "Fetching issues... #{page_i}/#{count_pages * PER_PAGE_NUMBER}\r"
|
print "Fetching issues... #{page_i}/#{count_pages * PER_PAGE_NUMBER}\r"
|
||||||
issues.concat(page)
|
issues.concat(page)
|
||||||
end
|
end
|
||||||
#
|
|
||||||
# print " \r"
|
print " \r"
|
||||||
#
|
|
||||||
# # if @options[:verbose]
|
if @options[:verbose]
|
||||||
# puts "Received issues...: #{issues.count}"
|
puts "Received issues: #{issues.count}"
|
||||||
# end
|
end
|
||||||
|
|
||||||
# remove pull request from issues:
|
# remove pull request from issues:
|
||||||
issues.select! { |x|
|
issues.select! { |x|
|
||||||
x.pull_request == nil
|
x.pull_request == nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if @options[:verbose]
|
|
||||||
puts "Received closed issues: #{issues.count}"
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
if @options[:verbose]
|
if @options[:verbose]
|
||||||
puts "Filtering issues with labels #{@options[:labels]}#{@options[:add_issues_wo_labels] ? ' and w/o labels' : ''}"
|
puts "Filtering issues with labels #{@options[:labels]}#{@options[:add_issues_wo_labels] ? ' and w/o labels' : ''}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user