From 076fc70b6cf2b0a12ba678a17bdb448f94838b83 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sat, 8 Jan 2022 19:43:00 -0700 Subject: [PATCH] Format the changelog so contributors can be highlighted --- tasks/changelog.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/changelog.sh b/tasks/changelog.sh index 9efd05126a..ec20cb0bab 100755 --- a/tasks/changelog.sh +++ b/tasks/changelog.sh @@ -49,12 +49,12 @@ main() { number="${BASH_REMATCH[1]}" author="${BASH_REMATCH[2]}" summary="${BASH_REMATCH[3]}" - declare $output+=" * [#${number}](${PULLS_URL}/${number}) - ${summary} ([@${author}](${GITHUB_URL}/${author}))\n" + declare $output+=" * ${summary} (by @${author} in ${PULLS_URL}/${number})\n" elif [[ ${l} =~ ${SQUASH_RE} ]] ; then number="${BASH_REMATCH[3]}" author="${BASH_REMATCH[1]}" summary="${BASH_REMATCH[2]}" - declare $output+=" * [#${number}](${PULLS_URL}/${number}) - ${summary} ([${author}](${GITHUB_URL}/search?q=${author}&type=Users))\n" + declare $output+=" * ${summary} (by @${author} in ${PULLS_URL}/${number})\n" fi done