mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
Add script which uses GitHub's REST API to fetch issues and pull requests that have changed since the last release, parse out the changelog entries from merged pull requests, and print a formatted version of the changelog suitable for copying into the release description, the CHANGELOG.md file and the Discord announcement. The script expects Pull Requests to have a `### Changelog` section in them with a code block containing changelog entries. As an added bonus the script can parse out `#<number>` references so that you do not need to write it out in the ugly `[#id](long-url-with-id-repeated)` format. Updates documentation and pull request template to describe the changelog format and usage of the formatting script. Includes improvements from review and a second look.
23 lines
669 B
Markdown
23 lines
669 B
Markdown
<!--
|
|
Describe why and what has been changed by this pull request, feel free to also ask for input on decisions you are unsure about etc.
|
|
|
|
The changelog lines below will be copied directly from merged pull requests to the changelog on new releases. Changes are expected to preferentially link to the associated issues. If there are no relevant issues, link to the pull request itself.
|
|
|
|
If there are no relevant changelog entries replace the code block below with "None." followed by an optional reason for why it is not needed.
|
|
-->
|
|
|
|
### Changelog
|
|
```
|
|
### Features
|
|
- Added doodad to web interface. #999
|
|
|
|
### Changes
|
|
- ...
|
|
|
|
### Fixes
|
|
- ...
|
|
|
|
### Breaking Changes
|
|
- ...
|
|
```
|