mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-22 10:36:00 +01:00
84776990b9
Introduces a crude Python script that can extract release notes from the changelog for a given version and convert it to one of three different output formats: - `github` for GitHub Releases. This is just the Markdown itself, but with the very first line (the version) removed, because the version is also the title of the release itself. - `spigot` for Spigot Resources. This is the BBCode format used on the forums and in the resource descriptions. - `curse` for CurseForge File Uploads. Curse uses a so-called "WYSIWYG" format that's really just HTML underneath. The formats for Spigot and CurseForge are straightforward to convert to as long as we only use simple text formatting, bullet lists, and links, but that is really all the changelog should consist of anyway. While this script already makes the release process quite a bit easier on its own, the end goal is to _automate_ releases as much as possible, and to do that, we need to be able to extract release notes, and we need to be able to do it from GitHub Actions, which is quite a bit simpler if we don't use third-party libraries. Publishing releases on GitHub is almost trivial, while CurseForge is pretty easy, and Hangar should be very doable as well. Spigot, on the other hand, is stuck in the dark ages, so we must continue to upload files manually there. |
||
---|---|---|
.. | ||
extract-release-notes |