brew-test-bot: use pkg_version when uploading bottles
This commit is contained in:
		
							parent
							
								
									e1611c4c22
								
							
						
					
					
						commit
						b3a38ea871
					
				@ -771,8 +771,14 @@ module Homebrew
 | 
			
		||||
      formula_packaged = {}
 | 
			
		||||
 | 
			
		||||
      Dir.glob("*.bottle*.tar.gz") do |filename|
 | 
			
		||||
        version = Bintray.version filename
 | 
			
		||||
        formula_name = bottle_filename_formula_name filename
 | 
			
		||||
        canonical_formula_name = if tap
 | 
			
		||||
          "#{tap}/#{formula_name}"
 | 
			
		||||
        else
 | 
			
		||||
          formula_name
 | 
			
		||||
        end
 | 
			
		||||
        formula = Formulary.factory canonical_formula_name
 | 
			
		||||
        version = formula.pkg_version
 | 
			
		||||
        bintray_package = Bintray.package formula_name
 | 
			
		||||
        existing_bottle = existing_bottles[formula_name]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user