diff --git a/.github/scripts/build-catalog.sh b/.github/scripts/build-catalog.sh index e6d4a0cccdf..8ef0f5ef87d 100755 --- a/.github/scripts/build-catalog.sh +++ b/.github/scripts/build-catalog.sh @@ -271,10 +271,10 @@ include_questions(){ /# Include{resources}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml - # Replace # Include{donate} with the standard donate codesnippet + # Replace # Include{documentation} with the standard documentation codesnippet awk 'NR==FNR { a[n++]=$0; next } - /# Include{donate}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + /# Include{documentation}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml } export -f include_questions diff --git a/templates/questions/donate.yaml b/templates/questions/documentation.yaml similarity index 99% rename from templates/questions/donate.yaml rename to templates/questions/documentation.yaml index b5dd13fcc45..92342923e4d 100644 --- a/templates/questions/donate.yaml +++ b/templates/questions/documentation.yaml @@ -22,4 +22,3 @@ # schema: # type: boolean # default: true - diff --git a/tools/build-release.sh b/tools/build-release.sh index 9889f37e259..6670d0f8cbf 100755 --- a/tools/build-release.sh +++ b/tools/build-release.sh @@ -363,10 +363,10 @@ include_questions(){ /# Include{resources}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml - # Replace # Include{donate} with the standard resources codesnippet + # Replace # Include{documentation} 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 + /# Include{documentation}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml } export -f include_questions