| 
									
										
										
										
											2023-08-08 13:54:59 -07:00
										 |  |  | # typed: strict | 
					
						
							| 
									
										
										
										
											2023-02-09 22:06:26 +09:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Homebrew | 
					
						
							| 
									
										
										
										
											2023-02-21 22:12:45 -08:00
										 |  |  |   class << self | 
					
						
							|  |  |  |     alias generic_git_tags git_tags | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-08 13:54:59 -07:00
										 |  |  |     sig { returns(String) } | 
					
						
							| 
									
										
										
										
											2023-04-02 12:20:53 -07:00
										 |  |  |     def git_tags | 
					
						
							|  |  |  |       tags = generic_git_tags | 
					
						
							|  |  |  |       tags = Utils.popen_read("git tag --list | sort -rV") if tags.blank? | 
					
						
							|  |  |  |       tags | 
					
						
							|  |  |  |     end | 
					
						
							| 
									
										
										
										
											2023-02-09 22:06:26 +09:00
										 |  |  |   end | 
					
						
							|  |  |  | end |