Push latest tar.gz

This commit is contained in:
Layla 2019-11-26 14:04:03 -05:00
parent 5e649e9226
commit 49d33f092b

2
Jenkinsfile vendored
View File

@ -64,7 +64,7 @@ pipeline {
}
}
}
sh "aws s3 cp `find ./dist/ -name semver-*` s3://rbn-ops-pkg-us-east-1/${env.SERVICE}/${env.SERVICE}-${env.VERSION}.tar.gz"
sh "aws s3 cp `ls -t ./dist/semver-* | head -1` s3://rbn-ops-pkg-us-east-1/${env.SERVICE}/${env.SERVICE}-${env.VERSION}.tar.gz"
}
post