mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-06-18 09:16:20 +08:00
Update build-release.sh
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
committed by
GitHub
parent
85278e9a77
commit
96d14d8856
@@ -363,6 +363,11 @@ include_questions(){
|
||||
/# Include{resources}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/resources.yaml ${target}/questions.yaml > "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<n;++i) print a[i]; next }
|
||||
1' templates/questions/donate.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
|
||||
}
|
||||
export -f include_questions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user