Skip to content

Make release notes templatable#7

Open
AndersBennedsgaard wants to merge 3 commits intomogensen:mainfrom
AndersBennedsgaard:feature/changelog-templating
Open

Make release notes templatable#7
AndersBennedsgaard wants to merge 3 commits intomogensen:mainfrom
AndersBennedsgaard:feature/changelog-templating

Conversation

@AndersBennedsgaard
Copy link
Copy Markdown

This changes the way we write the changelog, by implementing text/template.
By default it reads the templates found in pkg/output/templates/*.gtpl, but this can be changed using the --release-template flag.

I have tried to create templates which creates very similar results as earlier, but some unnecessary whitespace has been removed.

In addition, I have added github.com/Masterminds/sprig/v3 as a dependency, making templates much more powerful (and more similar to Helm templating 😅 )

Ps. it only works for the actual releases and not the entire changelog. So it is not possible to change the title of the file or the autogenerated trailing message yet.

baprx added a commit to baprx/helm-changelog that referenced this pull request Jun 17, 2023
baprx referenced this pull request in baprx/helm-changelog Jun 17, 2023
…otes-pr-7

feat(#7): Implement templated release notes
darkweaver87 pushed a commit to darkweaver87/helm-changelog that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant