You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hack/cherry_pick_pull.sh
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,7 @@ function return_to_kansas {
133
133
trap return_to_kansas EXIT
134
134
135
135
SUBJECTS=()
136
+
RELEASE_NOTES=()
136
137
functionmake-a-pr() {
137
138
local rel
138
139
rel="$(basename "${BRANCH}")"
@@ -149,7 +150,7 @@ ${numandtitle}
149
150
For details on the cherry pick process, see the [cherry pick requests](https://git.k8s.io/community/contributors/devel/sig-release/cherry-picks.md) page.
150
151
151
152
\`\`\`release-note
152
-
153
+
$(printf '%s\n'"${RELEASE_NOTES[@]}")
153
154
\`\`\`
154
155
EOF
155
156
)
@@ -195,9 +196,13 @@ for pull in "${PULLS[@]}"; do
195
196
}
196
197
197
198
# set the subject
198
-
subject=$(grep -m 1 "^Subject""/tmp/${pull}.patch"| sed -e 's/Subject: \[PATCH//g'| sed 's/.*] //')
199
+
subject=$(gh pr view "$pull" --json title --jq '.["title"]')
0 commit comments