From ac6d0d3d13aca1022eba1283812a105236045553 Mon Sep 17 00:00:00 2001 From: Alexander Goussas Date: Fri, 24 Oct 2025 11:41:52 -0500 Subject: [PATCH] feat: add changes from current branch first so that they appear before existing commits in the entry --- .../kotlin/io/github/aloussase/changelog/ChangelogTask.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog-plugin/src/main/kotlin/io/github/aloussase/changelog/ChangelogTask.kt b/changelog-plugin/src/main/kotlin/io/github/aloussase/changelog/ChangelogTask.kt index 9a88b77..0d27c82 100644 --- a/changelog-plugin/src/main/kotlin/io/github/aloussase/changelog/ChangelogTask.kt +++ b/changelog-plugin/src/main/kotlin/io/github/aloussase/changelog/ChangelogTask.kt @@ -47,8 +47,8 @@ abstract class ChangelogTask : DefaultTask() { if (it.release == changes.release) { ChangelogEntry( changes.release, - it.commits.toSet() - .union(changes.commits.toSet()) + changes.commits.toSet() + .union(it.commits.toSet()) .toList() ) } else { -- 2.43.0