title: Teamcity 9: How to add git short hash into assembly info patcher
body: <p>I'm trying to use assembly info patcher to create a version number something like:</p>
  
  <p>1.2.3.1a3c19e</p>
  
  <p>where the last bit is the git short hash.</p>
  
  <p>I've tried using a powershell script build step to create the short hash (as I cant find a variable that has it) and adding this to a system variable but this build step appears to run after assembly info patcher, so isn't much use.</p>