fixed one bug in filtering excluded tags
This commit is contained in:
parent
b82aa64eee
commit
180b4cb6c9
|
@ -6,12 +6,14 @@ module GitHubChangelogGenerator
|
|||
detect_since_tag
|
||||
detect_due_tag
|
||||
|
||||
all_tags = @fetcher.get_all_tags
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user