chore(ci): That definitely did not work like planned

This commit is contained in:
Skyler Mäntysaari 2025-03-29 10:36:43 +02:00
parent 1a8fd95e53
commit c1e94ff244

View File

@ -189,7 +189,9 @@ def main(
})
if annotations:
annotations_string = yaml.dump(annotations)
# Instead of trying to dump the list of annotations directly, we'll treat it as a string
annotations_list = [yaml.dump(item).rstrip() for item in annotations]
annotations_string = "\n".join(annotations_list)
if "annotations" not in new_chart_metadata:
new_chart_metadata["annotations"] = CommentedMap()