Update charts-release.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois
2024-05-12 20:11:23 +03:00
committed by GitHub
parent fba523d858
commit 218506a7c9
+2 -2
View File
@@ -203,13 +203,13 @@ jobs:
yq -i --front-matter=process ".title = ${chart}" website/src/content/docs/charts/${train}/${chart}/index.md
echo -e "---\n" >> website/src/content/docs/charts/${train}/${chart}/index.md
# Gather data
echo "Gathering data..."
version=$(yq '.version' charts/${train}/${chart}/Chart.yaml)
appversion=$(yq '.appVersion' charts/${train}/${chart}/Chart.yaml)
description=$(yq -r '.description' charts/${train}/${chart}/Chart.yaml)
sources=$(yq -r '.sources' charts/${train}/${chart}/Chart.yaml)
# Add the data to the index.md file
echo "Adding the data to the index.md file..."
echo '![Version: '"${version}"'](https://img.shields.io/badge/Version-'"${version}"'-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: '"${appversion}"'](https://img.shields.io/badge/AppVersion-'"${appversion}"'-informational?style=flat-square)' >> website/src/content/docs/charts/${train}/${chart}/index.md
echo "" >> website/src/content/docs/charts/${train}/${chart}/index.md
echo -e "$description\n" >> website/src/content/docs/charts/${train}/${chart}/index.md