pr-upload: fix for non-homebrew-core taps
This commit is contained in:
		
							parent
							
								
									5c87a909ea
								
							
						
					
					
						commit
						69ca7c5cd7
					
				@ -39,7 +39,7 @@ module Homebrew
 | 
			
		||||
 | 
			
		||||
    hashes.each do |name, hash|
 | 
			
		||||
      formula_path = HOMEBREW_REPOSITORY/hash["formula"]["path"]
 | 
			
		||||
      formula_version = Formulary::FormulaLoader.new(name, formula_path).get_formula("stable").version
 | 
			
		||||
      formula_version = Formulary.factory(formula_path).version
 | 
			
		||||
      bottle_version = Version.new hash["formula"]["pkg_version"]
 | 
			
		||||
      next if formula_version == bottle_version
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user