Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 28th, 2012  |  syntax: None  |  size: 0.11 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash
  2.  
  3. #Checkout source as at last prod deploy
  4.  
  5. tag=$(git tag | grep deploy-prod | tail -1)
  6.  
  7. git checkout $tag