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

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

commit ed30b658bb186bb409e3a152a6d9161a7c442b5f
Author: yujun <yu.jun.re...@gmail.com>
AuthorDate: Mon Feb 19 14:03:49 2024 +0800

    fix pick_pr.sh push_id (#31041)
---
 tools/pick_pr.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/pick_pr.sh b/tools/pick_pr.sh
index 52945cfd56f..9a2b64495a7 100755
--- a/tools/pick_pr.sh
+++ b/tools/pick_pr.sh
@@ -40,9 +40,10 @@ remote_to=$(echo "${branch_to}" | awk -F/ '{print $1}')
 push_remote=$3
 push_url=$(git remote get-url --push "${push_remote}")
 # https://github.com/your_name/doris.git
-push_url=$(echo "${push_url}" | sed 's|^https://github.com/||')
+# https://to...@github.com/your_name/doris.git
+push_url=$(echo "${push_url}" | sed 's|^https://.*github.com/||')
 # g...@github.com:your_name/doris.git
-push_url=$(echo "${push_url}" | sed 's|^g...@github.com:||')
+push_url=$(echo "${push_url}" | sed 's|^git@.*github.com:||')
 # get your_name
 push_id=$(echo "${push_url}" | awk -F/ '{print $1}')
 


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

Reply via email to