This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 4c2abc7ba8b branch-2.1: [opt](pick_pr) add branch name to title for 
manual pick pr tool #45902 (#45911)
4c2abc7ba8b is described below

commit 4c2abc7ba8b74fe113eca6a56158c274368d2855
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Dec 25 11:53:43 2024 +0800

    branch-2.1: [opt](pick_pr) add branch name to title for manual pick pr tool 
#45902 (#45911)
    
    Cherry-picked from #45902
    
    Co-authored-by: yujun <yu...@selectdb.com>
---
 tools/pick_pr.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/pick_pr.sh b/tools/pick_pr.sh
index 9a2b64495a7..c86eedca9b4 100755
--- a/tools/pick_pr.sh
+++ b/tools/pick_pr.sh
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to