fix version parser for upcoming erlang bottle
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
		
							parent
							
								
									2e0a2cb175
								
							
						
					
					
						commit
						27fd2d7a70
					
				@ -174,6 +174,11 @@ class Pathname
 | 
			
		||||
      return match.first if /\d/.match $1
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    # erlang bottle style, booya
 | 
			
		||||
    # e.g. erlang-R14B03-bottle.tar.gz
 | 
			
		||||
    /-([^-]+)-bottle$/.match stem
 | 
			
		||||
    return $1 if $1
 | 
			
		||||
 | 
			
		||||
    nil
 | 
			
		||||
  end
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user