mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Handle SemVer pre-release dot separated variants
This commit is contained in:
parent
a3ad5bd863
commit
d3d54f6344
@ -107,6 +107,6 @@ tasks {
|
|||||||
publishPlugin {
|
publishPlugin {
|
||||||
dependsOn("patchChangelog")
|
dependsOn("patchChangelog")
|
||||||
token(System.getenv("PUBLISH_TOKEN"))
|
token(System.getenv("PUBLISH_TOKEN"))
|
||||||
channels(pluginVersion.split('-').getOrElse(1) { "default" })
|
channels(pluginVersion.split('-').getOrElse(1) { "default" }.split('.').first())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user