From 1d698aef986c10ce46b30ddac2804745aef92989 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Sun, 31 Dec 2023 22:43:42 +0200 Subject: [PATCH] chore(docs): fix spacing --- .github/scripts/build-catalog.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/build-catalog.sh b/.github/scripts/build-catalog.sh index e6cddbac910..dd343272699 100755 --- a/.github/scripts/build-catalog.sh +++ b/.github/scripts/build-catalog.sh @@ -101,8 +101,8 @@ patch_apps() { echo "Adding changelog notice for: ${chartname}" # Count the frontmatter lines line_count=$(sed -n '/^---$/,/^---$/p' "${target}/CHANGELOG.md" | wc -l) - # Increase the line count by 1 - line_count=$((line_count + 1)) + # Increase the line count by 2 + line_count=$((line_count + 2)) # Add a line to the changelog sed -i "${line_count}s/^/*for the complete changelog, please refer to the website*\n\n/" "${target}/CHANGELOG.md" sed -i "${line_count}s/^/**Important:**\n/" "${target}/CHANGELOG.md"