lib/github_changelog_generator/generator/generator_generation.rb
# Generate log only between 2 specified tags
# @param [String] older_tag all issues before this tag date will be excluded. May be nil, if it's first tag
# @param [String] newer_tag all issue after this tag will be excluded. May be nil for unreleased section
Generate log only between 2 specified tags
Generate log only between 2 specified tags
def generate_log_between_tags(older_tag, newer_tag)
      filtered_issues, filtered_pull_requests = filter_issues_for_tags(newer_tag, older_tag)
      if newer_tag.nil? && filtered_issues.empty? && filtered_pull_requests.empty?
        return ""
      end
      create_log_for_tag(filtered_pull_requests, filtered_issues, newer_tag, older_tag)
    end
def generate_log_between_tags ( older_tag , newer_tag ) filtered_issues , filtered_pull_requests = filter_issues_for_tags ( newer_tag , older_tag ) if newer_tag . nil? && filtered_issues . empty? && filtered_pull_requests . empty? return "" end create_log_for_tag ( filtered_pull_requests , filtered_issues , newer_tag , older_tag ) end
Generate log only between 2 specified tags
Generate log only between 2 specified tags
# do not generate empty unreleased section
older_tag
newer_tag
newer_tag all issue after this tag will be excluded. May be nil for unreleased section
newer_tag all issue after this tag will be excluded . May be nil for unreleased section