def find_release_from_tag(repo, tag):
    """ Find a release in the repo for the given Git tag string. """
    releases = repo.get_releases()
    for r in releases:
        if r.tag_name == tag:
            return r
    return None