fixed one bug in filtering excluded tags

This commit is contained in:
Andrew Waage 2016-06-06 12:53:51 -07:00 committed by Olle Jonsson
parent b79d672424
commit 42c377d285

View File

@ -7,11 +7,13 @@ module GitHubChangelogGenerator
detect_due_tag
all_tags = @fetcher.get_all_tags
included_tags = filter_excluded_tags(all_tags)
fetch_tags_dates(all_tags) # Creates a Hash @tag_times_hash
sorted_tags = sort_tags_by_date(all_tags)
sorted_tags = sort_tags_by_date(included_tags)
@filtered_tags = get_filtered_tags(sorted_tags)
@tag_section_mapping = build_tag_section_mapping(@filtered_tags, all_tags)
@tag_section_mapping = build_tag_section_mapping(@filtered_tags, sorted_tags)
@filtered_tags
end
@ -99,7 +101,6 @@ module GitHubChangelogGenerator
filtered_tags = filter_since_tag(all_tags)
filtered_tags = filter_due_tag(filtered_tags)
filtered_tags = filter_between_tags(filtered_tags)
filter_excluded_tags(filtered_tags)
end
# @param [Array] all_tags all tags