Skip to content

Commit

Permalink
Catch generate_bundle() error and exit
Browse files Browse the repository at this point in the history
  • Loading branch information
concaf authored and tekton-robot committed Mar 10, 2022
1 parent ba03491 commit 42d68c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion operatorhub/tools/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,5 +304,7 @@ def divider(title=''):
if __name__ == "__main__":
divider("BundleGen")
config = buildConfig()
generate_bundle(config)
return_code = generate_bundle(config)
if return_code is not 0:
exit(return_code)
newCSVmods(config)

0 comments on commit 42d68c8

Please sign in to comment.