Feat: Add changelog to modrinth releases

This commit is contained in:
onebeastchris 2024-06-19 02:41:05 +02:00
parent 6884a0f7db
commit 02b7872b21
2 changed files with 2 additions and 1 deletions

View file

@ -56,6 +56,7 @@ jobs:
run: ./gradlew publish
env:
BUILD_NUMBER: ${{ steps.release-info.outputs.curentRelease }}
CHANGELOG: ${{ steps.metadata.outputs.body }}
ORG_GRADLE_PROJECT_geysermcUsername: ${{ vars.DEPLOY_USER }}
ORG_GRADLE_PROJECT_geysermcPassword: ${{ secrets.DEPLOY_PASS }}

View file

@ -10,7 +10,7 @@ modrinth {
projectId.set("geyser")
versionNumber.set(project.version as String + "-" + System.getenv("BUILD_NUMBER"))
versionType.set("beta")
changelog.set("A changelog can be found at https://github.com/GeyserMC/Geyser/commits")
changelog.set(System.getenv("CHANGELOG") ?: "")
gameVersions.add(libs.minecraft.get().version as String)
failSilently.set(true)