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 9c75075 commit 00d3701Copy full SHA for 00d3701
hack/changelog.sh
@@ -3,7 +3,7 @@
3
chart="./traefikee"
4
5
version="$(awk '/^version:/ { print $2} ' ${chart}/Chart.yaml)"
6
-changelog="$(sed -e "1,/^## ${version}/d" -e "/^###/,\$d" -e '/^$/d' -e 's/^* /- /' -e 's/^/ /' ${chart}/Changelog.md | grep '^ - ' | sed -e 's/\ *$//g' | sed 's/ - \(.*\)/ - "\1"/g')"
+changelog="$(sed -e "1,/^## ${version}/d" -e "/^##/,\$d" -e '/^$/d' -e 's/^* /- /' -e 's/^/ /' ${chart}/Changelog.md | grep '^ - ' | sed -e 's/\ *$//g' | sed 's/ - \(.*\)/ - "\1"/g')"
7
sed -i -e '/^ artifacthub.io\/changes: |/,$d' ${chart}/Chart.yaml
8
echo " artifacthub.io/changes: |" >> ${chart}/Chart.yaml
9
echo "${changelog}" >> ${chart}/Chart.yaml
0 commit comments