#NEWLINE# def create_release( repo , tag_name , name , body ) : #NEWLINE# #INDENT# "Create a release for the current master branch of a repository using the\n    Github API:\n      https://developer.github.com/v3/repos/releases/#create-a-release\n\n    Note that this is just working around a deficiency in PyGithub as it hasn't\n    yet implemented this API.\n    " #NEWLINE# params = { #NEWLINE# #INDENT# 'tag_name' : tag_name , #NEWLINE# 'name' : name , #NEWLINE# 'body' : body , #NEWLINE# #UNINDENT# } #NEWLINE# ( headers , data ) = repo . _requester . requestJsonAndCheck ( 'POST' , ( repo . url + '/releases' ) , input = params ) #NEWLINE# return ( headers , data )