Minor fixes to documentation build scripts

This commit is contained in:
Victor Zverovich
2016-06-02 06:52:07 -07:00
parent 9492b9ff03
commit 06045cb4a5
3 changed files with 9 additions and 9 deletions

View File

@ -186,7 +186,7 @@ if __name__ == '__main__':
r = requests.post('https://api.github.com/repos/fmtlib/fmt/releases',
params={'access_token': os.getenv('FMT_TOKEN')},
data=json.dumps({'tag_name': version, 'target_commitish': 'release',
'body': changes, 'draft': True}))
'body': changes, 'draft': True}))
if r.status_code != 201:
raise Exception('Failed to create a release ' + str(r))
finally: