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