Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed May 12, 2024
1 parent b49d688 commit f56cec4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/scripts/chart-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
make_sure_structure_is_there() {
local train="$1"
local chart="$2"

if [[ ! -f "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md" ]]; then
echo "changelog not found, starting with empty changelog..."
touch "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md"
fi
echo "Checking if website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md exists"
mkdir -p "website/src/content/docs/charts/${train}/${chart}" || echo "chart path already exists, continuing..."
touch "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md"
}

keep_safe_docs() {
Expand Down Expand Up @@ -143,7 +141,7 @@ process_index() {
continue
fi

title=$(yq '.title' ${file} | head -n 1)
title=$(yq --front-matter=process '.title' ${file} | head -n 1)
echo "The title is: ${title}"

echo "Generating markdown links"
Expand Down
2 changes: 1 addition & 1 deletion charts/incubator/pingvin-share/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6
version: 0.0.7

0 comments on commit f56cec4

Please sign in to comment.