Skip to content

Commit

Permalink
Update changelog.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue committed Aug 31, 2023
1 parent eca3511 commit 3bf0fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/scripts/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ else
fi
echo "ALL_COMMIT: ${ALL_COMMIT}"

TOTAL_COUNT=""
TOTAL_COUNT="0"
PR_LIST=""
#
FEATURE_PR=""
Expand All @@ -129,7 +129,7 @@ for COMMIT in ${ALL_COMMIT} ; do
else
PR_LIST+=" ${PR} "
fi
(( TOTAL_COUNT++ ))
(( TOTAL_COUNT+=1 ))
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 ',' ' ' ` || true
Expand Down

0 comments on commit 3bf0fc4

Please sign in to comment.