From e2cce0e02645b8a4d6822786efe979dbe71e0971 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 28 Apr 2025 12:42:48 -0400 Subject: [PATCH] Update .github/release-notes.sh Co-authored-by: gustavderdrache --- .github/release-notes.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/release-notes.sh b/.github/release-notes.sh index 18dc7ea2f..558f06030 100755 --- a/.github/release-notes.sh +++ b/.github/release-notes.sh @@ -22,9 +22,9 @@ gh api "/repos/${GITHUB_REPOSITORY}/releases/generate-notes" \ -f "tag_name=${TAG_NAME}" > "$scratch/notes.json" trim_trailing_newlines() { - tac \ - | awk 'flag {print} {if(NF) flag=1}' \ - | tac + local text + text="$(cat)" + echo -n "${text//$'\n'}" } linkify_gh() {