def generate_entry_for_tag(pull_requests, issues, newer_tag_name, newer_tag_link, newer_tag_time, older_tag_name) # rubocop:disable Metrics/ParameterLists
      github_site = @options[:github_site] || "https://github.com"
      project_url = "#{github_site}/#{@options[:user]}/#{@options[:project]}"

      create_sections

      @content = generate_header(newer_tag_name, newer_tag_link, newer_tag_time, older_tag_name, project_url)
      @content += generate_body(pull_requests, issues)
      @content
    end
def generate_entry_for_tag(pull_requests, issues, newer_tag_name, newer_tag_link, newer_tag_time, older_tag_name) # rubocop:disable Metrics/ParameterLists
      github_site = @options[:github_site] || "https://github.com"
      project_url = "#{github_site}/#{@options[:user]}/#{@options[:project]}"

      create_sections

      @content = generate_header(newer_tag_name, newer_tag_link, newer_tag_time, older_tag_name, project_url)
      @content += generate_body(pull_requests, issues)
      @content
    end
Generates log entry with header and body

 @param [Array] pull_requests List or PR's in new section
 @param [Array] issues List of issues in new section
 @param [String] newer_tag_name Name of the newer tag. Could be nil for `Unreleased` section.
 @param [String] newer_tag_link Name of the newer tag. Could be "HEAD" for `Unreleased` section.
 @param [Time] newer_tag_time Time of the newer tag
 @param [Hash, nil] older_tag_name Older tag, used for the links. Could be nil for last tag.
 @return [String] Ready and parsed section content.