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


##########
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/ | awk '{print $4}' | grep -v 'docs/v0.8.0' | 
xargs rm -rf

Review Comment:
   I swapped this so it should work with any folder that matches `docs/v\d` so 
we should be ok for the next release without changing this. We could move to 
`main` but we'd also need a redirect rule from the top level to not break 
existing doc URLs that are out there



-- 
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