GitHub Actions: update Build and Release flows

This commit is contained in:
Jakub Chrzanowski
2021-08-26 16:48:38 +02:00
committed by Jakub Chrzanowski
parent 1a5e465697
commit b7785a3c26
4 changed files with 87 additions and 136 deletions

View File

@@ -11,7 +11,7 @@ plugins {
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.1.4"
// gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
id("org.jetbrains.changelog") version "1.2.1"
id("org.jetbrains.changelog") version "1.3.0"
}
group = properties("pluginGroup")
@@ -77,7 +77,11 @@ tasks {
)
// Get the latest available change notes from the changelog file
changeNotes.set(provider { changelog.getLatest().toHTML() })
changeNotes.set(provider {
changelog.run {
getOrNull(properties("pluginVersion")) ?: getLatest()
}.toHTML()
})
}
runPluginVerifier {