'Tags the current branch\'s HEAD with the next semver gradle build tag.
Args:
version_bump_tag [String]: Semver string to add as a gradle build tag.'

def __tag_head_with_build(self, version_bump_tag):

    next_tag_with_build = '{0}-{1}'.format(version_bump_tag, self.build_number)
    first_dash_idx = next_tag_with_build.index('-')
    gradle_version = next_tag_with_build[(first_dash_idx + 1):]
    run_quick('git    -C    {path}    tag    {next_tag}    HEAD'.format(path=self.path, next_tag=gradle_version))
