Skip to content

Commit

Permalink
Merge pull request #394 from spidernet-io/fix-changelog-script
Browse files Browse the repository at this point in the history
Fix changelog script
  • Loading branch information
lou-lan authored May 30, 2023
2 parents 28ce42c + 5ea0a22 commit 0cc9668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ FIX_PR=""
for PR in ${ALL_PR_NUM} ; do
INFO=` gh pr view ${PR} ` || continue
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 ',' ' ' || true `
#
PR_URL="https://github.com/${PROJECT_REPO}/pull/${PR}"
#
Expand Down

0 comments on commit 0cc9668

Please sign in to comment.