title: Version number of Git commit from a specific branch in TeamCity 8.x
body: <p>I am building a Continuous Delivery pipeline in TC, and as a 0th build step, I'd like to be able to extract the unique version number which I give to my commit.</p>
  
  <p>It looks like this: release_4.46.</p>
  
  <p>I'd like to use the '4.46'-part to append to the different steps of my pipeline, and as the final step, name my artifact as e.g. app_4.46.war. </p>
  
  <p>I've managed to assemble the majority of the pipeline(unit tests, jsHint, Maven build) and it's up and running, but I cannot get to the end of this feature. </p>
  
  <p>Any help or pointers is appreciated.
  thanks</p>