

def get_latest_tag_name(self):
    cmd_describe = [self._executable, 'describe', '--abbrev=0', '--tags']
    result_describe = self._run_command(cmd_describe)
    if result_describe['returncode']:
        raise RuntimeError(('Could not fetch latest tag:\n%s' % result_describe['output']))
    tag_name = result_describe['output']
    return tag_name

dataset/ETHPy150Open ros-infrastructure/catkin_pkg/src/catkin_pkg/changelog_generator_vcs.py GitClient.get_latest_tag_name/original