fixed one bug in filtering excluded tags
This commit is contained in:
		
							parent
							
								
									b79d672424
								
							
						
					
					
						commit
						42c377d285
					
				@ -7,11 +7,13 @@ module GitHubChangelogGenerator
 | 
				
			|||||||
      detect_due_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
 | 
					      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)
 | 
					      @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
 | 
					      @filtered_tags
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
@ -99,7 +101,6 @@ module GitHubChangelogGenerator
 | 
				
			|||||||
      filtered_tags = filter_since_tag(all_tags)
 | 
					      filtered_tags = filter_since_tag(all_tags)
 | 
				
			||||||
      filtered_tags = filter_due_tag(filtered_tags)
 | 
					      filtered_tags = filter_due_tag(filtered_tags)
 | 
				
			||||||
      filtered_tags = filter_between_tags(filtered_tags)
 | 
					      filtered_tags = filter_between_tags(filtered_tags)
 | 
				
			||||||
      filter_excluded_tags(filtered_tags)
 | 
					 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # @param [Array] all_tags all tags
 | 
					    # @param [Array] all_tags all tags
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user