From ff665e348e14df0602286a054eaf0bbafce8e1d1 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sun, 21 Apr 2024 15:39:46 +0200 Subject: [PATCH] Update charts-release.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/charts-release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 4bd284e3783..c81cc18a991 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -244,7 +244,9 @@ jobs: title=$(cat "${file}" | grep "title: " | sed 's/title: //' | head -n 1) echo "The title is: ${title}" # Create a markdown link using the file name and title - link="[**${title}**](./${filename})" + filenameURL=${filename##*.} + filenameURL=${filenameURL,,} + link="[**${title}**](./${filenameURL})" echo "The link is: ${link}" if [ ${filename} != "index.md" ]; then # Append the link to the index.md file