From b579f37218123166121e42334437acc196e4e25d Mon Sep 17 00:00:00 2001 From: crozzy Date: Tue, 2 Apr 2024 10:35:28 -0700 Subject: [PATCH] chore: seperate line output when a release is missing changelog It was annoying as PRs that needed changelog entries were being displayed without line breaks so it was difficult to parse. Signed-off-by: crozzy --- .github/scripts/prepare-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/prepare-release b/.github/scripts/prepare-release index 0f5b02436..3b0fb57b7 100755 --- a/.github/scripts/prepare-release +++ b/.github/scripts/prepare-release @@ -20,7 +20,7 @@ done shift $((OPTIND - 1)) VERSION="${1:?need a version argument}" VERSION="v${VERSION#v}" - +IFS= prs=$(gh search prs --repo $GH_REPO --state closed --merged --label=needs-changelog --json=title,url | jq -r '.[] | (.url | @text) + " - " + (.title | @text)') if [ -n "$prs" ] then