mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
Fallback to the unreleased change notes when the plugin in current was not released yet
This commit is contained in:
committed by
Jakub Chrzanowski
parent
42f6ce7c9e
commit
e95cbd35b0
@@ -87,7 +87,8 @@ tasks {
|
||||
changeNotes.set(provider {
|
||||
with(changelog) {
|
||||
renderItem(
|
||||
getOrNull(properties("pluginVersion")) ?: getLatest(),
|
||||
getOrNull(properties("pluginVersion"))
|
||||
?: runCatching { getLatest() }.getOrElse { getUnreleased() },
|
||||
Changelog.OutputType.HTML,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user