mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
fix: Remove getLatest() from changeNotes in patchPluginXml task. (#340)
Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
This commit is contained in:
parent
c9194ab884
commit
98fab2786f
@ -89,8 +89,9 @@ tasks {
|
|||||||
changeNotes.set(properties("pluginVersion").map { pluginVersion ->
|
changeNotes.set(properties("pluginVersion").map { pluginVersion ->
|
||||||
with(changelog) {
|
with(changelog) {
|
||||||
renderItem(
|
renderItem(
|
||||||
getOrNull(pluginVersion)
|
(getOrNull(pluginVersion) ?: getUnreleased())
|
||||||
?: runCatching { getLatest() }.getOrElse { getUnreleased() },
|
.withHeader(false)
|
||||||
|
.withEmptySections(false),
|
||||||
Changelog.OutputType.HTML,
|
Changelog.OutputType.HTML,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user