Skip to content

Commit 3533a37

Browse files
committed
build: fix duplicate changelog heading and filter noise from release notes
Remove {{changelogTitle}} from jreleaser append content to prevent duplicate headings, fix the existing duplicate in CHANGELOG.md, and hide merge commits, build, and documentation entries from generated changelogs.
1 parent cdaa18f commit 3533a37

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
<!-- JRELEASER_CHANGELOG_APPEND - Do not remove or modify this section -->
99
## [v4.1.0] - 2025-10-09
10-
## Release v4.1.0
1110

1211
## 🚀 Features
1312
- 960d8c8 ignore same comment character if comments are ignored
@@ -244,7 +243,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
244243

245244
- Initial release
246245

247-
[Unreleased]: https://github.com/osiegmar/FastCSV/compare/v4.0.0...HEAD
246+
[Unreleased]: https://github.com/osiegmar/FastCSV/compare/v4.1.0...HEAD
247+
[v4.1.0]: https://github.com/osiegmar/FastCSV/compare/v4.0.0...v4.1.0
248248
[v4.0.0]: https://github.com/osiegmar/FastCSV/compare/v3.7.0...v4.0.0
249249
[3.7.0]: https://github.com/osiegmar/FastCSV/compare/v3.6.0...v3.7.0
250250
[3.6.0]: https://github.com/osiegmar/FastCSV/compare/v3.5.0...v3.6.0

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,15 @@ jreleaser {
4343
changelog {
4444
formatted.set(org.jreleaser.model.Active.ALWAYS)
4545
preset.set("conventional-commits")
46+
hide {
47+
categories.set(listOf("merge", "Build", "Documentation"))
48+
contributors.set(listOf("[bot]"))
49+
}
4650
append {
4751
enabled.set(true)
4852
target.set(file("CHANGELOG.md"))
4953
title = "## [{{tagName}}] - {{#f_now}}YYYY-MM-dd{{/f_now}}"
50-
content = "{{changelogTitle}}\n{{changelogContent}}"
54+
content = "{{changelogContent}}"
5155
}
5256
}
5357
}

0 commit comments

Comments
 (0)