areusch commented on code in PR #11612:
URL: https://github.com/apache/tvm/pull/11612#discussion_r894069512
##########
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 think you can like --name-only or something rather than awk. wanna do
that? also...the `grep -v` doesn't seem especially scalable particularly as
0.9.0 release is getting to be imminent. i feel like we should just move the
`main` docs to a subdir...thoughts?
--
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]