From 218506a7c98ee85dd154a7fd35de4c977596c2dc Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 12 May 2024 20:11:23 +0300 Subject: [PATCH] Update charts-release.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- .github/workflows/charts-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 7539d89abd9..f81204923d1 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -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