mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
Fix create draft release (#427)
* Fix bash variable access in Create Release Draft step. * Fix channels assignment in publishPlugin task. * Remove Gradle Kotlin DSL Lazy Property Assignment because it's default now * Changelog update - v1.11.3 * Remove Gradle Kotlin DSL Lazy Property Assignment from the main `gradle.properties` file * CHANGELOG update * Adjust obtaining the value for `publishPlugin.channels` property. * CHANGELOG update --------- Co-authored-by: kotlinisland <asdf> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
This commit is contained in:
@@ -126,6 +126,6 @@ tasks {
|
||||
// The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
|
||||
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
|
||||
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
|
||||
channels = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) }
|
||||
channels = properties("pluginVersion").map { listOf(it.substringAfter('-').substringBefore('.').ifEmpty { "default" }) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user