Disable platforms patching (while PIO3 is not released)

This commit is contained in:
Ivan Kravets
2016-08-29 14:56:55 +03:00
parent 0f8f9c94cd
commit 023e2978ba

View File

@ -133,10 +133,12 @@ def after_upgrade(ctx):
if u.run(ctx):
app.set_state_item("last_version", __version__)
# patch development platforms
# update development platforms
pm = PlatformManager()
for manifest in pm.get_installed():
pm.update(manifest['name'], "^" + manifest['version'])
# @TODO Uncomment line below after first PIO3 release
# pm.update(manifest['name'], "^" + manifest['version'])
pm.update(manifest['name'])
click.secho(
"PlatformIO has been successfully upgraded to %s!\n" %