diff --git a/gradle/publish.gradle b/gradle/publish.gradle index 7a361c864e18..ef45b3ff037f 100644 --- a/gradle/publish.gradle +++ b/gradle/publish.gradle @@ -97,5 +97,6 @@ artifactory { } artifactoryPublish { - publications ('maven') + enabled = version.toString().contains('SNAPSHOT') + publications('maven') } \ No newline at end of file