Updated generation of version number to be based on branch and HEAD commit for the branch.