Add flag to omit empty sections from getChangelog
task.
#167
Labels
enhancement
New feature or request
Milestone
getChangelog
task.
#167
Is your feature request related to a problem? Please describe.
Similar to https://github.com/JetBrains/intellij-platform-plugin-template/blob/main/.github/workflows/build.yml#L166 , several of my OSS plugins also create a draft release using the
getChangelog
output. Every time I do a release, I have to edit the description and delete empty sections to keep the release notes (and changelog) short and simple. I'd rather have this automated, so that when the PR is opened, the empty sections are already removed - because I, along with many others, leverage this gradle plugin, I would like to pass a flag to this task to tell it to omit empty changelogs.Describe the solution you'd like
A flag, such as
--no-empty-secions
, to omit empty sections from the output ofgetChangelog
task.Describe alternatives you've considered
awk
, but it's ugly (there is probably a better, more concise way; this is what I ended up w/ after 30 min of googling):Additional context
...vs...
The text was updated successfully, but these errors were encountered: