more fixes
This commit is contained in:
@@ -5,11 +5,9 @@
|
|||||||
make_sure_structure_is_there() {
|
make_sure_structure_is_there() {
|
||||||
local train="$1"
|
local train="$1"
|
||||||
local chart="$2"
|
local chart="$2"
|
||||||
|
echo "Checking if website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md exists"
|
||||||
if [[ ! -f "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md" ]]; then
|
mkdir -p "website/src/content/docs/charts/${train}/${chart}" || echo "chart path already exists, continuing..."
|
||||||
echo "changelog not found, starting with empty changelog..."
|
|
||||||
touch "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md"
|
touch "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md"
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
keep_safe_docs() {
|
keep_safe_docs() {
|
||||||
@@ -143,7 +141,7 @@ process_index() {
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
title=$(yq '.title' ${file} | head -n 1)
|
title=$(yq --front-matter=process '.title' ${file} | head -n 1)
|
||||||
echo "The title is: ${title}"
|
echo "The title is: ${title}"
|
||||||
|
|
||||||
echo "Generating markdown links"
|
echo "Generating markdown links"
|
||||||
|
|||||||
@@ -33,4 +33,4 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/pingvin-share
|
- https://github.com/truecharts/charts/tree/master/charts/incubator/pingvin-share
|
||||||
- https://hub.docker.com/r/stonith404/pingvin-share
|
- https://hub.docker.com/r/stonith404/pingvin-share
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.6
|
version: 0.0.7
|
||||||
|
|||||||
Reference in New Issue
Block a user