mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Don't show obsolate version in =dev mode
This commit is contained in:
@ -130,7 +130,9 @@ def check_platformio_upgrade():
|
||||
app.set_state_item("last_check", last_check)
|
||||
|
||||
latest_version = get_latest_version()
|
||||
if latest_version == __version__:
|
||||
if (latest_version == __version__ or
|
||||
Upgrader.version_to_int(latest_version) <
|
||||
Upgrader.version_to_int(__version__)):
|
||||
return
|
||||
|
||||
click.secho("There is a new version %s of PlatformIO available.\n"
|
||||
|
Reference in New Issue
Block a user