driazati commented on code in PR #11612:
URL: https://github.com/apache/tvm/pull/11612#discussion_r894842518


##########
jenkins/Deploy.groovy.j2:
##########
@@ -47,7 +47,7 @@ def deploy_docs() {
       git status
       git checkout -B $DOCS_DEPLOY_BRANCH
 
-      rm -rf docs
+      git ls-tree HEAD docs/ --name-only | grep -vP '^docs/v\\d' | xargs rm -rf

Review Comment:
   it goes through Jenkins' parser first so the `\\` has to be escaped, bash 
sees `v\d` as it should



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to