title: How can I tell Gitversion how to parse version from branch name?
body: <p>My build team currently has setup our branch names to follow convention Feature_*, Bugfix_*, Hotfix_*, Release_*. Doing a google search I see typical naming conventions use all lowercase with either a dash ('-') or folder ('/') marker for each of these branch types rather than the underscore ('_') delimiter I have here. For most part I can use the regex expression in the Gitversion.yml file so gitversion can properly identify the branch type.</p>
  
  <p>However, there is issue with Release branches and ability for GitVersion tool to pick up the version # from the branch name. It appears here that Gitversion tool can only do this if naming convention matches <code>release/&lt;version&gt;</code> or <code>release-&lt;version&gt;</code>. But if I instead use <code>Release_&lt;version&gt;</code> it will not parse the branch name to get new version #. I have asked build team if we could switch the naming convention here, but they balk at changing the naming convention as could affect many other repos and their Jenkins configurations.</p>
  
  <p>Is there any way for me to let the Gitversion tool know that my naming convention is <code>Release_&lt;version&gt;</code> and pare the version # accordingly - whether it be with Gitversion.yml or other means?</p>
  
  <p>I have modified the GitVersion.yml with regex to identify the release branch and this works correctly in identifying what is a release branch. But it does not parse suggested version from branch name.</p>
  
  <p>My GitVersion.yml</p>
  
  <pre><code>mode: ContinuousDelivery
  branches:
    master:
      regex: master
      tag: ''
      is-release-branch: false
      prevent-increment-of-merged-branch-version: true
      track-merge-target: false
      tracks-release-branches: false
    release:
      regex: Release_
      tag: ''
      is-release-branch: true
      is-mainline: true
      prevent-increment-of-merged-branch-version: true
      track-merge-target: false
      tracks-release-branches: false
      source-branches: ['develop']
    feature:
      regex: Feature_
      is-release-branch: false
      prevent-increment-of-merged-branch-version: false
      track-merge-target: false
      tracks-release-branches: false
    pull-request:
      regex: (pull|pull\-requests|pr)[/-]
      is-release-branch: false
      prevent-increment-of-merged-branch-version: false
      track-merge-target: false
      tracks-release-branches: false
    hotfix:
      regex: Hotfix_
      is-release-branch: false
      prevent-increment-of-merged-branch-version: false
      track-merge-target: false
      tracks-release-branches: false
    develop:
      regex: develop
      mode: ContinuousDeployment
      is-release-branch: false
      prevent-increment-of-merged-branch-version: false
      track-merge-target: true
      tracks-release-branches: true
  ignore:
    sha: []
  merge-message-formats: {}
  </code></pre>
  
  <p>I expect if I provide a branch name of Release_0.99.1 I should get a version # of 0.99.1.Instead getting a version # of 0.1.0.</p>