diff --git a/tools/build-release.sh b/tools/build-release.sh index 3862f76260f..9889f37e259 100755 --- a/tools/build-release.sh +++ b/tools/build-release.sh @@ -363,6 +363,11 @@ include_questions(){ /# Include{resources}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + # Replace # Include{donate} with the standard resources 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