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}" #