def METHOD_NAME(version, build_filepath, commit_sha):
    try:
        release = get_rc_release(version)
        if release:
            release = update_release_commit_sha(release, commit_sha)
        else:
            release = create_release(version, commit_sha)
        print("Using release id: {}".format(release["id"]))
        remove_previous_builds(release)
        response = upload_asset(release, build_filepath)
        changelog = get_changelog(commit_sha)
        response = _github_request("patch", release["url"], {"body": changelog})
        if response.status_code != 200:
            raise exception_from_error("Failed updating release description", response)
    except Exception as ex:
        print(ex)