From 91bad19927d2f2ec50aaf7ed938669f027ed0a93 Mon Sep 17 00:00:00 2001 From: "Greg L. Turnquist" Date: Wed, 28 Oct 2020 21:29:03 -0500 Subject: [PATCH] Fix release process. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5ad59fd..283a731 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {