ci: publishing fixes

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

View file

@ -116,7 +116,7 @@ dependencies {
intellijPlatform {
pluginConfiguration {
version = providers.gradleProperty("pluginVersion")
version = pluginVersionFull
description = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map {
val start = "<!-- Plugin description -->"
@ -157,11 +157,6 @@ intellijPlatform {
password = providers.environmentVariable("PRIVATE_KEY_PASSWORD")
}
publishing {
token = providers.environmentVariable("PUBLISH_TOKEN")
channels = providers.gradleProperty("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) }
}
pluginVerification {
ides {
select {
@ -197,6 +192,9 @@ tasks {
inputArchiveFile = signPlugin.map { it.signedArchiveFile }.get()
dependsOn(signPlugin)
}
publishPlugin {
enabled = false
}
}