Skip to content

Commit 3a41b41

Browse files
committed
Restored the process for obtaining revision history
1 parent 4c5360c commit 3a41b41

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

build.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
22
import com.fasterxml.jackson.annotation.JsonProperty
33
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
44
import org.gradle.internal.classpath.Instrumented.systemProperty
5+
import org.jetbrains.changelog.Changelog
56
import org.jetbrains.changelog.markdownToHTML
67
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
78
import java.net.URL
@@ -113,6 +114,20 @@ intellijPlatform {
113114
}
114115
}
115116

117+
val changelog = project.changelog
118+
changeNotes =
119+
version
120+
.map { pluginVersion ->
121+
with(changelog) {
122+
renderItem(
123+
(getOrNull(pluginVersion) ?: getUnreleased())
124+
.withHeader(false)
125+
.withEmptySections(false),
126+
Changelog.OutputType.HTML,
127+
)
128+
}
129+
}
130+
116131
ideaVersion {
117132
sinceBuild = providers.gradleProperty("pluginSinceBuild")
118133
untilBuild = providers.gradleProperty("pluginUntilBuild")

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pluginGroup = org.domaframework.doma.intellij
22
pluginName = Doma Tools for IntelliJ
33
pluginRepositoryUrl = https://github.com/domaframework/doma-tools-for-intellij
4-
pluginVersion = 0.6.1-beta
4+
pluginVersion = 0.6.0
55

66
pluginSinceBuild=231
77

0 commit comments

Comments
 (0)