diff --git a/build.gradle b/build.gradle index 27aa5b2..7feed68 100644 --- a/build.gradle +++ b/build.gradle @@ -76,7 +76,7 @@ task deployArtifacts { description = 'Deploys the artifacts to either Artifactory or Maven Central' } -if (version.endsWith('-RELEASE')) { +if (version.endsWith('-RELEASE') || version.matches(/^.*?-SR\d+$/)) { deployArtifacts.dependsOn uploadArchives } else {