pixel-32 / CDDA-tileset

Other
48 stars 11 forks source link

feat: auto genereate release notes #117

Closed casswedson closed 2 years ago

casswedson commented 2 years ago

A few days ago, I asked Fris how to make release notes this pretty https://github.com/I-am-Erk/CDDA-Tilesets/releases/tag/2022-05-08

Turns out it is a feature of the releases page, tho you have to do it by hand, fris also pointed me to some api docs that could explain how to automate this

pretty release notes are very desirable, the api docs are confusing, but I got it working after some time

see this release https://github.com/casswedson/CDDA-tileset/releases/tag/2022-05-12-2311 generated by this commit https://github.com/casswedson/CDDA-tileset/commit/5d157eb5b88c739f307a0facacc8cce0eb313c78

This was very useful for figuring out what needed to be done https://github.com/cli/cli/blob/trunk/.github/workflows/releases.yml

references: https://docs.github.com/en/rest/releases/releases#generate-release-notes-content-for-a-release