From b9838532f011fe71f6337fa59e67553d5d55b11c Mon Sep 17 00:00:00 2001 From: weizhoublue <45163302+weizhoublue@users.noreply.github.com> Date: Tue, 30 May 2023 13:08:11 +0800 Subject: [PATCH] Update changelog.sh --- tools/scripts/changelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/changelog.sh b/tools/scripts/changelog.sh index 2cd5427e..f2455284 100755 --- a/tools/scripts/changelog.sh +++ b/tools/scripts/changelog.sh @@ -119,7 +119,7 @@ FIX_PR="" for PR in ${ALL_PR_NUM} ; do INFO=` gh pr view ${PR} ` TITLE=` grep -E "^title:[[:space:]]+" <<< "$INFO" | sed -E 's/title:[[:space:]]+//' ` - LABELS=` grep -E "^labels:[[:space:]]" <<< "$INFO" | sed -E 's/labels://' | tr ',' ' ' ` + LABELS=` grep -E "^labels:[[:space:]][^\[]" <<< "$INFO" | sed -E 's/labels://' | tr ',' ' ' ` # PR_URL="https://github.com/${PROJECT_REPO}/pull/${PR}" #