ci: publishing fixes

This commit is contained in:
FalsePattern 2024-11-07 17:50:23 +01:00
parent fb29d221a9
commit 72eaae23fa
Signed by: falsepattern
GPG key ID: E930CDEC50C50E23

View file

@ -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
}
} }