From 9a9be3f42780e3a8ac4939aa4eb0ebd7f79409d2 Mon Sep 17 00:00:00 2001 From: Punyashloka Biswal Date: Thu, 1 Dec 2016 17:10:58 -0500 Subject: [PATCH] Publish RCs and alphas, part 2 (#150) ...the gradling --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 0eb3d2c6..0ae19e0e 100644 --- a/build.gradle +++ b/build.gradle @@ -88,7 +88,7 @@ bintray { bintrayUpload.dependsOn 'generatePomFileForBintrayPublication', 'sourceJar', 'build' bintrayUpload.onlyIf { - System.env.BINTRAY_USER && System.env.BINTRAY_KEY && project.version ==~ /\d+\.\d+\.\d+/ + System.env.BINTRAY_USER && System.env.BINTRAY_KEY && project.version ==~ /[0-9]+(\.[0-9]+)+(-rc[0-9]+)?(-alpha[0-9]+)?/ } pluginBundle {