mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Show package size before publishing to the registry
This commit is contained in:
@ -97,6 +97,7 @@ def package_publish_cmd( # pylint: disable=too-many-arguments, too-many-locals
|
|||||||
("Owner:", owner),
|
("Owner:", owner),
|
||||||
("Name:", name),
|
("Name:", name),
|
||||||
("Version:", version),
|
("Version:", version),
|
||||||
|
("Size:", fs.humanize_file_size(os.path.getsize(archive_path))),
|
||||||
]
|
]
|
||||||
if manifest.get("system"):
|
if manifest.get("system"):
|
||||||
data.insert(len(data) - 1, ("System:", ", ".join(manifest.get("system"))))
|
data.insert(len(data) - 1, ("System:", ", ".join(manifest.get("system"))))
|
||||||
|
Reference in New Issue
Block a user