diff --git a/build.gradle b/build.gradle index fece287..fe038f2 100644 --- a/build.gradle +++ b/build.gradle @@ -77,7 +77,7 @@ task deployArtifacts { description = 'Deploys the artifacts to either Artifactory or Maven Central' } -if (version.matches(/^.*-RELEASE$/) || version.matches(/^.*-SR\d+$/)) { +if (version.matches(/.*\.[0-9]+$/)) { deployArtifacts.dependsOn uploadArchives } else {