Trim the release note to just the relevant part of the changelog
NatoBoram opened this issue ยท 3 comments
It's very cool that there's a proper changelog and a very accessible releases page, but copying the whole changelog on every releases is a bit much.
Is it possible to add something like this to the GitHub Action?
begin=$(grep -n '<!-- latest begin -->' changelog.md | cut -f1 -d:)
end=$(grep -n '<!-- latest end -->' changelog.md | cut -f1 -d:)
sed -n "$begin , $end p" changelog.md
It gives me this output:
<!-- latest begin -->
### 1.2.2 - just a hotfix
- fixed typo.
- removed a debug dump that looked like it's something important.
- added forge 1.15.2 version
<!-- latest end -->
On other note.. I never expected anyone to get to the github release page so I never really cared much about making them pretty ๐
My intend was to do something like description generation for the release action too. With more information about the changes and probably screenshots an so on..
I guess I'll never do it because providing full documentation for the new features in the release notes takes too much time.
Just trimming the change log will have to do...