(chore) move standardised env-vars to include (#1092)

* intial work on moving fixed envs to include

* add include to release scripting
This commit is contained in:
Kjeld Schouten-Lebbing
2021-10-04 13:27:12 +02:00
committed by GitHub
parent 47366d6bf0
commit 2b6ba98a6b
99 changed files with 200 additions and 1188 deletions
+5
View File
@@ -131,6 +131,11 @@ include_questions(){
/# Include{groups}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/groups.yaml ${target}/questions.yaml > tmp && mv tmp ${target}/questions.yaml
# Replace # Include{fixedEnv} with the standard groups codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{fixedEnv}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/fixedEnv.yaml ${target}/questions.yaml > tmp && mv tmp ${target}/questions.yaml
# Replace # Include{controllerExpert} with the standard controllerExpert codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{controllerExpert}/ { for (i=0;i<n;++i) print a[i]; next }