[close #591] update all the branch of proto while precompiling to avoid commit miss (#592)

This commit is contained in:
iosmanthus 2022-04-22 15:36:40 +08:00 committed by GitHub
parent 09cb452c2e
commit 7a123a07e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@ cd "$TIKV_CLIENT_HOME" || exit
if [ -d "$kvproto_dir" ]; then
git -C ${kvproto_dir} fetch -p
git pull --all
else
git clone https://github.com/pingcap/kvproto ${kvproto_dir}
fi
@ -38,6 +39,7 @@ git -C ${kvproto_dir} checkout ${kvproto_hash}
if [ -d "$raft_rs_dir" ]; then
git -C ${raft_rs_dir} fetch -p
git pull --all
else
git clone https://github.com/pingcap/raft-rs ${raft_rs_dir}
fi
@ -45,6 +47,7 @@ git -C ${raft_rs_dir} checkout ${raft_rs_hash}
if [ -d "$tipb_dir" ]; then
git -C ${tipb_dir} fetch -p
git pull --all
else
git clone https://github.com/pingcap/tipb ${tipb_dir}
fi