ci: publishing fixes

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

View file

@ -115,7 +115,7 @@ dependencies {
intellijPlatform {
pluginConfiguration {
version = providers.gradleProperty("pluginVersion")
version = pluginVersionFull
description = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map {
val start = "<!-- Plugin description -->"
@ -156,11 +156,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 {
@ -196,6 +191,9 @@ tasks {
inputArchiveFile = signPlugin.map { it.signedArchiveFile }.get()
dependsOn(signPlugin)
}
publishPlugin {
enabled = false
}
}