ci: publishing fixes
This commit is contained in:
parent
5eca261831
commit
5fa4ff72d1
1 changed files with 4 additions and 6 deletions
|
@ -116,7 +116,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 -->"
|
||||||
|
@ -157,11 +157,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 {
|
||||||
|
@ -197,6 +192,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