title: Automatic tagging of releases
body: <p>How do you tag your release versions in git?</p>
  
  <p>Now I have each release identified by build number, but they increment even if there are no changes in the repo. My idea is to have it generated automatically on successful deployment on staging server. E.g.</p>
  
  <ul>
  <li>run Hudson build</li>
  <li>when successful, add new tag, i.e. 1.0-1</li>
  <li>on next <em>successful</em> build add next tag, 1.0-2</li>
  <li>version tag is displayed then in site footer</li>
  </ul>
  
  <p>This would require:</p>
  
  <ul>
  <li>Hudson to manage next version numbers</li>
  <li>or script to store last tag in some file</li>
  <li>or parse git tags to determine last</li>
  </ul>
  
  <p>Any tips?</p>