Skip to content

Commit

Permalink
Oh my, missed the credentials when switching to IJP Gradle Plugin 2.0 :(
Browse files Browse the repository at this point in the history
  • Loading branch information
halirutan committed Jul 19, 2024
1 parent f94fe6b commit 751e10b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ intellijPlatform {

vendor {
name = "halirutan"
url = "https://github.com/halirutan/IntelliJ-Key-Promoter-X"
url = properties("pluginRepositoryUrl")
}

ideaVersion {
Expand Down Expand Up @@ -131,6 +131,16 @@ tasks {

publishPlugin {
dependsOn("patchChangelog")
token.set(System.getenv("PUBLISH_TOKEN"))
// Use beta versions like 2020.3-beta-1
channels.set(properties("pluginVersion").map {
listOf(it
.split('-')
.getOrElse(1) { "default" }
.split('.')
.first()
)
})
}
}

0 comments on commit 751e10b

Please sign in to comment.