Skip to content

Commit

Permalink
Do not error out if no app is to be published
Browse files Browse the repository at this point in the history
  • Loading branch information
Qubad786 committed Jun 25, 2024
1 parent e65ffe2 commit 771bf60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps_ci/scripts/catalog_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def publish_updated_apps(catalog_path: str) -> None:

dev_item_yaml_path = os.path.join(dev_app_path, 'item.yaml')
publish_item_yaml_path = os.path.join(publish_app_path, 'item.yaml')
if os.path.exists(publish_app_version_path):
continue

shutil.copy(dev_item_yaml_path, publish_item_yaml_path)
shutil.copytree(dev_app_path, publish_app_version_path)

Expand Down

0 comments on commit 771bf60

Please sign in to comment.