Changed quotes around rev env variable in deafult.kibot

This commit is contained in:
andrewc
2023-11-03 18:02:54 +10:00
parent d5eaab8bbb
commit a810b5af61

View File

@@ -11,7 +11,7 @@ preflight:
run_drc: true run_drc: true
set_text_variables: set_text_variables:
- name: 'rev' - name: 'rev'
command: "if [ $(git describe --tags | wc -w) -gt 0 ]; then git describe --tags | sed -e 's/\([r,R][0-9]\+\)*$//g'; else echo $CI_COMMIT_SHORT_SHA; fi" command: 'if [ $(git describe --tags | wc -w) -gt 0 ]; then git describe --tags | sed -e "s/\([r,R][0-9]\+\)*$//g"; else echo $CI_COMMIT_SHORT_SHA; fi'
- name: 'date' - name: 'date'
expand_kibot_patterns: true expand_kibot_patterns: true
text: '%D' text: '%D'