Skip to content

Commit

Permalink
Update Jenkinsfile to create v0.8 tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored Nov 12, 2021
1 parent 5dc7566 commit 1268185
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit 1268185

Please sign in to comment.