Merge pull request #16345 from taosdata/ci/TD-18521

ci: git remote prune origin before git pull
This commit is contained in:
Haojun Liao 2022-08-23 18:21:08 +08:00 committed by GitHub
commit dce21c1b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ def check_docs() {
} }
sh ''' sh '''
cd ${WKC} cd ${WKC}
git remote prune origin
git pull >/dev/null git pull >/dev/null
git fetch origin +refs/pull/${CHANGE_ID}/merge git fetch origin +refs/pull/${CHANGE_ID}/merge
git checkout -qf FETCH_HEAD git checkout -qf FETCH_HEAD