Skip to content

ci-package-builder:

Emanuele Aina requested to merge wip/em/fix-yaml-multiline-syntax into master

Commit bd9e1697 "Automatically freeze stable branches" uses the wrong YAML multiline syntax and since it trims newlines it produces an invalid shell snippet, breaking merge pipelines with this error:

$ if echo $CI_MERGE_REQUEST_TARGET_BRANCH_NAME | grep -Ev '(dev[0-9]|pre)$' then # collapsed multi-line command
/bin/bash: eval: line 124: syntax error near unexpected token `fi'

Switch from > to | to preserve newlines in the snippet.

Merge request reports