From 768c6c78f875dd530beb07c04a077a5f948e99fe Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Fri, 12 Aug 2022 13:11:35 +0200 Subject: [PATCH] donate -> docs --- .github/scripts/build-catalog.sh | 6 +++--- templates/questions/{donate.yaml => documentation.yaml} | 1 - tools/build-release.sh | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) rename templates/questions/{donate.yaml => documentation.yaml} (99%) 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