diff --git a/.github/scripts/build-catalog.sh b/.github/scripts/build-catalog.sh index 56ecd789b71..e6d4a0cccdf 100755 --- a/.github/scripts/build-catalog.sh +++ b/.github/scripts/build-catalog.sh @@ -271,6 +271,11 @@ include_questions(){ /# Include{resources}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + # Replace # Include{donate} with the standard donate codesnippet + awk 'NR==FNR { a[n++]=$0; next } + /# Include{donate}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + } export -f include_questions