diff --git a/CHANGELOG.md b/CHANGELOG.md index c3637b4..43ba683d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # SmartTomcat Changelog +##[4.7.4] + +### Fixed +- write change log in plugin.xml + ## [4.7.3] - be able to update the server.xml under the /.smarttomcat//conf. diff --git a/build.gradle.kts b/build.gradle.kts index dcbbddf..26960be 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,4 @@ +import org.jetbrains.changelog.Changelog import org.jetbrains.changelog.markdownToHTML fun prop(key: String) = project.findProperty(key).toString() @@ -31,6 +32,7 @@ intellij { // Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin changelog { version.set(prop("pluginVersion")) + keepUnreleasedSection.set(false) groups.set(emptyList()) } @@ -71,9 +73,13 @@ tasks { // Get the latest available change notes from the changelog file changeNotes.set(provider { - changelog.run { - getOrNull(prop("pluginVersion")) ?: getLatest() - }.toHTML() + changelog.renderItem( + changelog + .getLatest() + .withHeader(true) + .withEmptySections(false), + Changelog.OutputType.HTML + ) }) } diff --git a/gradle.properties b/gradle.properties index 5a3eaf5..bc0577d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=US pluginName = SmartTomcat pluginGroup = com.poratu.idea.plugins.tomcat -pluginVersion = 4.7.3 +pluginVersion = 4.7.4 pluginSinceBuild = 193.5233.102 pluginUntilBuild=