Skip to content

Commit 1268185

Browse files
authored
Update Jenkinsfile to create v0.8 tarball
1 parent 5dc7566 commit 1268185

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Jenkinsfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,10 @@ stage('Build packages') {
487487

488488
stage('Deploy') {
489489
node('doc') {
490-
ws(per_exec_ws('tvm/deploy-docs')) {
491-
if (env.BRANCH_NAME == 'main') {
492-
unpack_lib('mydocs', 'docs.tgz')
493-
sh 'cp docs.tgz /var/docs/docs.tgz'
494-
sh 'tar xf docs.tgz -C /var/docs'
490+
ws(per_exec_ws("tvm/deploy-docs")) {
491+
if (env.BRANCH_NAME == "v0.8") {
492+
unpack_lib('mydocs', 'docs.tgz')
493+
sh "cp docs.tgz /var/docs/docs.v0.8.tgz"
495494
}
496495
}
497496
}

0 commit comments

Comments
 (0)