mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
Set publish channel depending on the plugin version, i.e. 1.0.0-beta -> beta channel
This commit is contained in:
committed by
Jakub Chrzanowski
parent
d467a21aeb
commit
74dc4e3edb
@@ -107,5 +107,6 @@ tasks {
|
||||
publishPlugin {
|
||||
dependsOn("patchChangelog")
|
||||
token(System.getenv("PUBLISH_TOKEN"))
|
||||
channels(pluginVersion.split('-').getOrElse(1) { "default" })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user