Add release script

This commit is contained in:
Linnea Gräf
2023-12-31 17:02:01 +01:00
parent 2243f986a7
commit c49b65835d
2 changed files with 163 additions and 1 deletions

View File

@@ -6,10 +6,12 @@ SPDX-License-Identifier: CC0-1.0
# How to create a release
There is a release script to automate some of these actions.
- Bump the version on gradle.properties
- Create a tag with that same version (without `v` prefix, please)
- Create a changelog based on
`git log --pretty=' - %s' --grep '[no changelog]' --invert-grep --fixed-strings oldversion..newversion | tac`, while
`git log --pretty='- %s' --grep '[no changelog]' --invert-grep --fixed-strings oldversion..newversion | tac`, while
filtering out commits that should not be in the changelog.
- Upload to [GitHub](https://github.com/romangraef/Firmament/releases/new)
- Upload to [Modrinth](https://modrinth.com/mod/firmament/versions)