helm-charts
helm-charts copied to clipboard
Add changes to artifacthub with annotation
Problem
Artifacthub allows to add changes to the release with annotation. But it has strict format incompatible with changelog.
It expects yaml encoded array of strings for each line at changelog.
https://artifacthub.io/docs/topics/annotations/helm/
Current mechanism breaks releases at artifacthub and was commented https://github.com/VictoriaMetrics/helm-charts/blob/master/.github/workflows/release.yaml#L85
Proposed solution:
Write a python script, that parses changlelog and converts each change line into properly encoded yaml formatted annotation line.
See example https://github.com/enix/x509-certificate-exporter/blob/2022fd36b941c5cb2aa405011e8b62b2edcf6d00/.github/workflows/release.yml#L549-L705