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 <[email protected]> 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://[email protected]/your_name/doris.git +push_url=$(echo "${push_url}" | sed 's|^https://.*github.com/||') # [email protected]:your_name/doris.git -push_url=$(echo "${push_url}" | sed 's|^[email protected]:||') +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: [email protected] For additional commands, e-mail: [email protected]
