Skip to content

Commit 6e3abcc

Browse files
committed
Refactor changelog property usage to simplify version mapping logic.
1 parent 12f231b commit 6e3abcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ intellijPlatform {
3737

3838
val changelog = project.changelog // local variable for configuration cache compatibility
3939
// Get the latest available change notes from the changelog file
40-
changeNotes = providers.gradleProperty("pluginVersion").map { pluginVersion ->
40+
changeNotes = version.map { pluginVersion ->
4141
with(changelog) {
4242
renderItem(
4343
(getOrNull(pluginVersion) ?: getUnreleased())

0 commit comments

Comments
 (0)