You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/10 18:14:30 UTC

[GitHub] [tvm] driazati commented on a diff in pull request #11612: [ci][docs] Don't delete old versions when checking out docs

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org