Skip to content

Commit

Permalink
Merge pull request #24 from truenas/NAS-129729
Browse files Browse the repository at this point in the history
NAS-129729 / 24.10 / Do not error out if no app is to be published
  • Loading branch information
Qubad786 authored Jun 25, 2024
2 parents e65ffe2 + 771bf60 commit 5261576
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 5261576

Please sign in to comment.