From 147e6c7a93c98388cd550b4a32e8728c63c0afff Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Sat, 13 Oct 2018 14:05:23 +0700 Subject: [PATCH] Publish only release builds to Gradle plugin portal --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 5e4e42b0d0f..e221ab837f7 100644 --- a/build.gradle +++ b/build.gradle @@ -178,8 +178,8 @@ task gradlePluginCheck { task gradlePluginUpload { dependsOn gradle.includedBuild('kotlin-native-gradle-plugin').task(':bintrayUpload') - // Don't publish dev builds to the plugin portal. - if (konanVersionFull.meta != MetaVersion.DEV) { + // Publish releases to the plugin-portal too. + if (konanVersionFull.meta == MetaVersion.RELEASE) { dependsOn gradle.includedBuild('kotlin-native-gradle-plugin').task(':publishPlugins') } }