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

tqchen pushed a commit to branch v0.8
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/v0.8 by this push:
     new 1268185  Update Jenkinsfile to create v0.8 tarball
1268185 is described below

commit 12681858b3507e9ff91b3c5d824c9ef62014a45f
Author: Tianqi Chen <[email protected]>
AuthorDate: Fri Nov 12 16:12:16 2021 -0500

    Update Jenkinsfile to create v0.8 tarball
---
 Jenkinsfile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a5e1d28..4504aa0 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -487,11 +487,10 @@ stage('Build packages') {
 
 stage('Deploy') {
     node('doc') {
-      ws(per_exec_ws('tvm/deploy-docs')) {
-        if (env.BRANCH_NAME == 'main') {
-        unpack_lib('mydocs', 'docs.tgz')
-        sh 'cp docs.tgz /var/docs/docs.tgz'
-        sh 'tar xf docs.tgz -C /var/docs'
+      ws(per_exec_ws("tvm/deploy-docs")) {
+        if (env.BRANCH_NAME == "v0.8") {
+           unpack_lib('mydocs', 'docs.tgz')
+           sh "cp docs.tgz /var/docs/docs.v0.8.tgz"
         }
       }
     }

Reply via email to