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') } }