Merge pull request #23 from RightBrain-Networks/pipeline/bugfix

Push latest tar.gz
This commit is contained in:
rbn-ops 2019-11-26 14:09:26 -05:00 committed by GitHub
commit ce4bfacf76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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