Uncomment deploy steps

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2018-04-20 17:15:45 -07:00
parent 4faf7c19b6
commit a50c056d7c
1 changed files with 2 additions and 3 deletions

View File

@ -239,9 +239,8 @@ def finalize(args):
if not merge_status.merged:
raise ScriptError('Unable to merge PR #{}: {}'.format(pr_data.number, merge_status.message))
print('Uploading to PyPi')
# TODO: this will do real stuff. Uncomment when done testing
# run_setup(os.path.join(REPO_ROOT, 'setup.py'), script_args=['upload'])
# img_manager.push_images(args.release)
run_setup(os.path.join(REPO_ROOT, 'setup.py'), script_args=['upload'])
img_manager.push_images(args.release)
repository.publish_release(gh_release)
except ScriptError as e:
print(e)