Fix release process.

This commit is contained in:
Greg L. Turnquist
2020-10-28 21:29:03 -05:00
parent adfffd43a3
commit 91bad19927

4
Jenkinsfile vendored
View File

@@ -170,7 +170,7 @@ pipeline {
returnStdout: true
).trim()
if (PROJECT_VERSION.endsWith('RELEASE')) {
if (PROJECT_VERSION.matches(/.*\.[0-9]+$/)) {
unstash name: 'build_info'
sh "ci/promote-to-bintray.sh"
} else {
@@ -205,7 +205,7 @@ pipeline {
returnStdout: true
).trim()
if (PROJECT_VERSION.endsWith('RELEASE')) {
if (PROJECT_VERSION.matches(/.*\.[0-9]+$/)) {
unstash name: 'build_info'
sh "ci/sync-to-maven-central.sh"
} else {