diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-07-23 12:09:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-23 19:09:45 +0000 |
| commit | 559c8307d7537319c9f2b3f3d386d8b9b147aba3 (patch) | |
| tree | 4be23c3ad6d99a99986567625dbe892f5fe25f11 /docs/scripts | |
| parent | c48e35506667c752edec6a021e7a9b9562940c7b (diff) | |
Remove unnecessary processing in the release note script (#7884)
The release note script was trying to retrieve additional label
information from the "issue" but when parsing logic is not reliable.
When the issue has a link to a repo other than Slang, it printed error
message. An example is #7826 that has a link to an external repo,
https://github.com/llvm/llvm-project/issues/79043
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 |
