diff options
Diffstat (limited to 'docs/scripts')
| -rw-r--r-- | docs/scripts/release-note.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/scripts/release-note.sh b/docs/scripts/release-note.sh index d63ee8736..9ee85d0fe 100644 --- a/docs/scripts/release-note.sh +++ b/docs/scripts/release-note.sh @@ -74,22 +74,6 @@ for i in $(seq $commitsCount); do if "$gh" issue view $pr --json labels | grep -q 'pr: breaking change'; then result="[BREAKING] $line" fi - - # Get the issue number for the PR - body="$("$gh" issue view $pr --json body)" - [ "x$body" = "x" ] && break - issue="$(echo "$body" | grep '#[1-9][0-9][0-9][0-9][0-9]*' | sed 's|.*\#\([1-9][0-9][0-9][0-9][0-9]*\).*|\1|')" - [ "x$issue" = "x" ] && break - - # Get the labels of the issue - label="$("$gh" issue view $issue --json labels)" - [ "x$label" = "x" ] && break - - # Get the goal type from the labels - goal="$(echo "$label" | grep '"goal:' | sed 's|.*"goal:\([^"]*\)".*|\1|')" - [ "x$goal" = "x" ] && break - - result+=" (#$issue:$goal)" done echo "$result" done |
