summaryrefslogtreecommitdiffstats
path: root/build/pypi/openbb_platform/publish.py
diff options
context:
space:
mode:
Diffstat (limited to 'build/pypi/openbb_platform/publish.py')
-rw-r--r--build/pypi/openbb_platform/publish.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/pypi/openbb_platform/publish.py b/build/pypi/openbb_platform/publish.py
index 4abe874b7be..3d6fb6bf83e 100644
--- a/build/pypi/openbb_platform/publish.py
+++ b/build/pypi/openbb_platform/publish.py
@@ -51,6 +51,7 @@ def update_extension_dependencies(path: Path):
def bump_version(path: Path):
"""Bump the version of the package"""
+ print(f"\n> {path.parent.stem}") # noqa: T201
subprocess.run(CMD + VERSION_BUMP_CMD, cwd=path.parent, check=True) # noqa: S603
@@ -77,7 +78,9 @@ def publish(dry_run: bool = False, core: bool = False, extensions: bool = False)
# Publish (if not dry run)
if not dry_run:
subprocess.run(
- CMD + PUBLISH_CMD, cwd=path.parent, check=True # noqa: S603
+ CMD + PUBLISH_CMD, # noqa: S603
+ cwd=path.parent,
+ check=True, # noqa: S603
)
except Exception as e:
print(f"Error publishing {path.parent}:\n{e}") # noqa: T201