GitLab CI: Echoing a text with a colon leads to malformed YML file
- echo "Version: ${CI_BUILD_REF} / ${CI_BUILD_REF_NAME}" >> info.txt
Produces a malformed YML: script should be a string or an array of a strings
If I remove the colon in Version:
, everything works fine. That's a bug, I guess.