def create_release(repo, tag_name, name, body):
    # Note that this implementation does some horrible stuff and assumes intimate
    # details of the PyGithub implementation.  This is ok as the function only
    # exists to quickly fill the gap until PyGithub implements a release create
    # function.
    params = { 'tag_name': tag_name, 'name': name, 'body': body }
    headers, data = repo._requester.requestJsonAndCheck(
        "POST",
        repo.url + "/releases",
        input=params
    )
    return headers, data
Create a release for the current master branch of a repository using the
dataset/ETHPy150Open adafruit/Arduino_Library_Github_Tools/create_releases.py/create_release