Skip to content

Commit

Permalink
branch-2.1: [opt](pick_pr) add branch name to title for manual pick p…
Browse files Browse the repository at this point in the history
…r tool #45902 (#45911)

Cherry-picked from #45902

Co-authored-by: yujun <[email protected]>
  • Loading branch information
github-actions[bot] and yujun777 authored Dec 25, 2024
1 parent 64195d7 commit 4c2abc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pick_pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if [ "${ans}" = "y" ]; then
echo
echo "step6: create pr using gh cli"
title=$(gh pr view "${pr}" --repo "${doris_repo}" --json title -t '{{.title}}')
newpr_url=$(gh pr create --repo "${doris_repo}" --base "${branch_to_name}" --head "${push_id}:${branch_pick}" --title "${title} #${pr}" --body "cherry pick from #${pr}")
newpr_url=$(gh pr create --repo "${doris_repo}" --base "${branch_to_name}" --head "${push_id}:${branch_pick}" --title "${branch_to_name}: ${title} #${pr}" --body "cherry pick from #${pr}")
echo "new pr url: ${newpr_url}"

echo
Expand Down

0 comments on commit 4c2abc7

Please sign in to comment.