From e92e1793de1744296d0bb62d0e3efcb25a385126 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Sun, 12 May 2024 22:46:23 +0300 Subject: [PATCH] -.- --- .github/scripts/chart-docs.sh | 12 ++++++------ .github/scripts/frontmatter.sh | 2 +- .github/workflows/charts-release.yaml | 2 +- charts/incubator/pingvin-share/Chart.yaml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/scripts/chart-docs.sh b/.github/scripts/chart-docs.sh index 3e4ef37117b..7b7514c3738 100755 --- a/.github/scripts/chart-docs.sh +++ b/.github/scripts/chart-docs.sh @@ -116,14 +116,14 @@ process_index() { echo "Adding front matter to index.md..." echo "---" >>${index_path} - yq -i --front-matter=process '.title="'${chart}'"' ${index_path} + go-yq -i --front-matter=process '.title="'${chart}'"' ${index_path} echo -e "---\n" >>${index_path} echo "Getting data from Chart.yaml..." - version=$(yq '.version' ${chart_yaml_path}) - appversion=$(yq '.appVersion' ${chart_yaml_path}) - description=$(yq -r '.description' ${chart_yaml_path}) - sources=$(yq -r '.sources' ${chart_yaml_path}) + version=$(go-yq '.version' ${chart_yaml_path}) + appversion=$(go-yq '.appVersion' ${chart_yaml_path}) + description=$(go-yq -r '.description' ${chart_yaml_path}) + sources=$(go-yq -r '.sources' ${chart_yaml_path}) 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)' >>${index_path} @@ -149,7 +149,7 @@ process_index() { continue fi - title=$(yq --front-matter=process '.title' ${file} | head -n 1) + title=$(go-yq --front-matter=process '.title' ${file} | head -n 1) echo "The title is: ${title}" echo "Generating markdown links" diff --git a/.github/scripts/frontmatter.sh b/.github/scripts/frontmatter.sh index aac1e98479f..a591a7b6d2e 100755 --- a/.github/scripts/frontmatter.sh +++ b/.github/scripts/frontmatter.sh @@ -3,7 +3,7 @@ [ "$STRICT" == 'true' ] && set -e file_path="$1" -base_cmd="yq --front-matter=process" +base_cmd="go-yq --front-matter=process" # Check if the file has valid front matter is_empty() { diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 0522777073f..27be253e689 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -156,7 +156,7 @@ jobs: export DEBUG=true export STRICT=true - yq --version + go-yq --version for i in "${CHARTS[@]}" do diff --git a/charts/incubator/pingvin-share/Chart.yaml b/charts/incubator/pingvin-share/Chart.yaml index e5dc9a26211..6201bcd8ebd 100644 --- a/charts/incubator/pingvin-share/Chart.yaml +++ b/charts/incubator/pingvin-share/Chart.yaml @@ -33,4 +33,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/pingvin-share - https://hub.docker.com/r/stonith404/pingvin-share type: application -version: 0.0.9 +version: 0.0.10