ci: publishing fixes
This commit is contained in:
parent
4bf786ec8f
commit
d1739d85e5
1 changed files with 4 additions and 6 deletions
|
@ -115,7 +115,7 @@ dependencies {
|
||||||
|
|
||||||
intellijPlatform {
|
intellijPlatform {
|
||||||
pluginConfiguration {
|
pluginConfiguration {
|
||||||
version = providers.gradleProperty("pluginVersion")
|
version = pluginVersionFull
|
||||||
|
|
||||||
description = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map {
|
description = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map {
|
||||||
val start = "<!-- Plugin description -->"
|
val start = "<!-- Plugin description -->"
|
||||||
|
@ -156,11 +156,6 @@ intellijPlatform {
|
||||||
password = providers.environmentVariable("PRIVATE_KEY_PASSWORD")
|
password = providers.environmentVariable("PRIVATE_KEY_PASSWORD")
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
|
||||||
token = providers.environmentVariable("PUBLISH_TOKEN")
|
|
||||||
channels = providers.gradleProperty("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) }
|
|
||||||
}
|
|
||||||
|
|
||||||
pluginVerification {
|
pluginVerification {
|
||||||
ides {
|
ides {
|
||||||
select {
|
select {
|
||||||
|
@ -196,6 +191,9 @@ tasks {
|
||||||
inputArchiveFile = signPlugin.map { it.signedArchiveFile }.get()
|
inputArchiveFile = signPlugin.map { it.signedArchiveFile }.get()
|
||||||
dependsOn(signPlugin)
|
dependsOn(signPlugin)
|
||||||
}
|
}
|
||||||
|
publishPlugin {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue