Update charts-release.yaml

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten 2024-04-21 18:50:23 +02:00 committed by GitHub
parent c850d0cfb3
commit ddb64f0838
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -244,7 +244,8 @@ 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
filenameURL=${filename##*.}
filename="${fullfile##*/}"
filenameURL=${filename%.*}
filenameURL=${filenameURL,,}
link="[**${title}**](./${filenameURL})"
echo "The link is: ${link}"