def get_tags(directory=None):
    out = check_output('git tag -l', shell=True, cwd=directory)
    return [l.strip() for l in out.splitlines()]
Returns a list of tags in the git repository.
dataset/ETHPy150Open ros-infrastructure/bloom/bloom/git.py/get_tags