Skip to content

Commit 00d3701

Browse files
committed
chore(ci): 🔧 👷 fix changelog script
1 parent 9c75075 commit 00d3701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
chart="./traefikee"
44

55
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')"
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')"
77
sed -i -e '/^ artifacthub.io\/changes: |/,$d' ${chart}/Chart.yaml
88
echo " artifacthub.io/changes: |" >> ${chart}/Chart.yaml
99
echo "${changelog}" >> ${chart}/Chart.yaml

0 commit comments

Comments
 (0)