mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Disable platforms patching (while PIO3 is not released)
This commit is contained in:
@ -133,10 +133,12 @@ def after_upgrade(ctx):
|
|||||||
if u.run(ctx):
|
if u.run(ctx):
|
||||||
app.set_state_item("last_version", __version__)
|
app.set_state_item("last_version", __version__)
|
||||||
|
|
||||||
# patch development platforms
|
# update development platforms
|
||||||
pm = PlatformManager()
|
pm = PlatformManager()
|
||||||
for manifest in pm.get_installed():
|
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(
|
click.secho(
|
||||||
"PlatformIO has been successfully upgraded to %s!\n" %
|
"PlatformIO has been successfully upgraded to %s!\n" %
|
||||||
|
Reference in New Issue
Block a user