Created
          January 20, 2017 15:13 
        
      - 
      
- 
        Save javrasya/abb7eaf35256dd3f5f1587bdac030197 to your computer and use it in GitHub Desktop. 
    Get latest git tag by a version pattern
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | echo "$(git tag --sort=committerdate | grep -o 'v[0-9]*\.[0-9]*\.[0-9]*' | tail -n1)" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment