We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8282ba commit 2783b3fCopy full SHA for 2783b3f
chartpress.py
@@ -830,9 +830,11 @@ def publish_pages(
830
if os.path.isfile(os.path.join(checkout_dir, "index.yaml")):
831
with open(os.path.join(checkout_dir, "index.yaml")) as f:
832
chart_repo_index = yaml.load(f)
833
- published_charts = chart_repo_index["entries"].get(chart_name)
+ published_charts = chart_repo_index["entries"].get(chart_name, [])
834
835
- if any(c["version"] == chart_version for c in published_charts):
+ if published_charts and any(
836
+ c["version"] == chart_version for c in published_charts
837
+ ):
838
if force:
839
_log(
840
f"Chart of version {chart_version} already exists, overwriting it."
0 commit comments