Skip to content

Commit 420aaea

Browse files
committed
Replace hub CLI with gh CLI
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent dab61ff commit 420aaea

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎hack/scripts/cherry-pick.sh‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ while IFS=/ read -r -u9 repo branch; do
3737
git checkout -b $pr_branch
3838
git cherry-pick --strategy=recursive -X theirs $GITHUB_SHA
3939
git push -u origin HEAD -f
40-
hub pull-request \
40+
gh pr create \
4141
--base $branch \
42-
--labels automerge \
43-
--message "[cherry-pick] $(git show -s --format=%s)" \
44-
--message "$(git show -s --format=%b | sed --expression='/\/cherry-pick/d')" || true
42+
--label automerge \
43+
--title "[cherry-pick] $(git show -s --format=%s)" \
44+
--body "$(git show -s --format=%b | sed --expression='/\/cherry-pick/d')" || true
4545
sleep 15
4646
done 9< <(git branch -r | grep release)

0 commit comments

Comments
 (0)