From ac3fe0542504eb476795a5bcea7975a19b3a9426 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 13 May 2024 01:07:37 +0300 Subject: [PATCH] btter --- .github/scripts/frontmatter.sh | 5 +---- charts/incubator/flashpaper/Chart.yaml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/scripts/frontmatter.sh b/.github/scripts/frontmatter.sh index 00d9925e674..c64adb39a5f 100755 --- a/.github/scripts/frontmatter.sh +++ b/.github/scripts/frontmatter.sh @@ -27,10 +27,7 @@ if ! head -n 1 "$file_path" | grep -q "---"; then echo "Front matter (start) not found, adding it" # Dont trace content, as its usually too large [ "$DEBUG" == "true" ] && set +x - content=$(cat "$file_path") - echo -e "---\n" >"$file_path" - echo -e "---\n" >>"$file_path" - echo "$content" >>"$file_path" + (echo -e "---\n---\n"; cat "$file_path") >"$file_path.tmp" && mv "$file_path.tmp" "$file_path" [ "$DEBUG" == "true" ] && set -x fi diff --git a/charts/incubator/flashpaper/Chart.yaml b/charts/incubator/flashpaper/Chart.yaml index 8fdeb7a5bf8..92b2f0ad559 100644 --- a/charts/incubator/flashpaper/Chart.yaml +++ b/charts/incubator/flashpaper/Chart.yaml @@ -39,4 +39,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/flashpaper - https://ghcr.io/andrewpaglusch/flashpaper type: application -version: 2.0.7 +version: 2.0.8