Update charts-release.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
parent
a66fd3357b
commit
ff665e348e
|
@ -244,7 +244,9 @@ jobs:
|
||||||
title=$(cat "${file}" | grep "title: " | sed 's/title: //' | head -n 1)
|
title=$(cat "${file}" | grep "title: " | sed 's/title: //' | head -n 1)
|
||||||
echo "The title is: ${title}"
|
echo "The title is: ${title}"
|
||||||
# Create a markdown link using the file name and 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}"
|
echo "The link is: ${link}"
|
||||||
if [ ${filename} != "index.md" ]; then
|
if [ ${filename} != "index.md" ]; then
|
||||||
# Append the link to the index.md file
|
# Append the link to the index.md file
|
||||||
|
|
Loading…
Reference in New Issue