]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix formatting of autorebase failure notifications
authorMichał Kępień <michal@isc.org>
Wed, 24 Jun 2026 08:04:06 +0000 (10:04 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 24 Jun 2026 08:04:06 +0000 (10:04 +0200)
Using a plain "echo" command does not turn "\n" into newline
characters, breaking the formatting of the Zulip notifications sent upon
autorebase failures.  Fix by using "echo -e" instead, which enables
interpreting backslash sequences in the provided input.

.gitlab-ci.yml

index 937dc75af339fbc0767b246b78b56450a023d9a4..3c67ccbae524346381831ac69d43c0287d91eb3c 100644 (file)
@@ -2694,7 +2694,7 @@ merged-metadata:
       MSG="${MSG}\n**Job**: ${CI_JOB_URL}"
       MSG="${MSG}\n**Reason**: ${REASON}"
       MSG="${MSG}${REASON_DETAILS}"
-      echo "$MSG" > message.txt
+      echo -e "$MSG" > message.txt
     - >
       "$CI_PROJECT_DIR"/bind9-qa/releng/message_zulip.py --message message.txt --channel bind9-team --topic 'Autorebase errors'