-
|
Is there a way to have I've tried setting I've also tried having some static content via Of course it's entirely likely that I've misconfigured something here. But in the docs, I couldn't really find guidance for this particular use case; they seem focused on having the changelog generated automatically. What would be the best way to achieve this? Also, once I get it to work, I'd be happy to add a little section to the docs, for old-fashioned people like me who still like to write changelogs by hand 😉 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
The current assumption when setting the The FWIW JReleaser itself uses this content template https://github.com/jreleaser/jreleaser/blob/main/src/jreleaser/changelog.tpl If I understood your use case you'd like to source an external changelog but reading only a partial section of it. For this to work JReleaser would have to find 2 anchors (start, end) in the content. The code to handle this use case does not exist, yet. I can imagine values for these anchors to be configurable resolving to sensible defaults such as |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the elaborate answer! I wasn't sure how I can totally work with a static file, I could for example just copy/paste the relevant content into it via a GitHub Actions input box before doing a release. Regarding Your proposal with the anchors is nice, but it would clutter the file for people trying to read it raw, I would first try other ways to do it I think. |
Beta Was this translation helpful? Give feedback.
-
|
Ahh thank you! I'll try it tomorrow. |
Beta Was this translation helpful? Give feedback.
-
|
Indeed, adding the |
Beta Was this translation helpful? Give feedback.
Indeed, adding the
formattedproperty fixed it! Thank you!