This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 55122c8  Update the script to be more robust
55122c8 is described below

commit 55122c81ade94f32c160d09ce74cb3aee91562a6
Author: tqchen <[email protected]>
AuthorDate: Mon Mar 30 11:38:41 2020 -0700

    Update the script to be more robust
---
 scripts/task_docs_update.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/task_docs_update.sh b/scripts/task_docs_update.sh
index ca66908..fcce5f5 100755
--- a/scripts/task_docs_update.sh
+++ b/scripts/task_docs_update.sh
@@ -19,7 +19,8 @@ if [ ! -f "$DOCS_TGZ" ]; then
 fi
 
 cp .gitignore .gitignore.bak
-git checkout asf-site
+git fetch
+git checkout -B asf-site origin/asf-site
 # remove all docs files
 git ls-files | grep -e ^docs | xargs  rm -f
 cp .gitignore.bak .gitignore

Reply via email to