Skip to content

Commit

Permalink
Merge branch 'main' into automatic-update-of-generated-content
Browse files Browse the repository at this point in the history
  • Loading branch information
pipo02mix authored May 10, 2024
2 parents da75bd3 + 7b40d62 commit 7b6fd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-helm-chart-reference/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ docker run --rm \

for file in ${DESTINATION}/*.md; do
## Remove all content before the docs line
sed -i '/<!-- INTRO_END -->/,/<!-- DOCS_START -->/d' filename
sed -i '/<!-- INTRO_END -->/,/<!-- DOCS_START -->/d' file
# Remove empty lines
awk 'NF > 0 || NR == 1 {blank=0} NF == 0 {blank++} blank < 2 {print}' $file > /tmp/_back.md && mv /tmp/_back.md $file
# Remove trailing whitespace
Expand Down

0 comments on commit 7b6fd10

Please sign in to comment.