mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2025-04-26 23:00:31 +05:30
fix(ci): Strip whitespace from annotations string in release notes
This commit is contained in:
parent
9f4d9c5f57
commit
fab5a463de
3
.github/scripts/renovate-releasenotes.py
vendored
3
.github/scripts/renovate-releasenotes.py
vendored
@ -199,7 +199,7 @@ def main(
|
||||
if "annotations" not in new_chart_metadata:
|
||||
new_chart_metadata["annotations"] = CommentedMap()
|
||||
|
||||
new_chart_metadata["annotations"]["artifacthub.io/changes"] = LiteralScalarString(annotations_string)
|
||||
new_chart_metadata["annotations"]["artifacthub.io/changes"] = LiteralScalarString(annotations_string.strip())
|
||||
|
||||
logger.debug(f"Annotations: {annotations_string}")
|
||||
logger.debug(new_chart_metadata)
|
||||
@ -207,6 +207,7 @@ def main(
|
||||
new_chart_metadata = bump_patch_version(new_chart_metadata)
|
||||
|
||||
with chart_metadata_file.open("w") as f:
|
||||
yaml.exclude_start = False
|
||||
yaml.dump(new_chart_metadata, f)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user