Skip to content

Commit

Permalink
Feat: Add changelog to modrinth releases (GeyserMC#4770)
Browse files Browse the repository at this point in the history
* Feat: Add changelog to modrinth releases

* oops
  • Loading branch information
onebeastchris authored Jun 19, 2024
1 parent 2c47330 commit 34158f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
- name: Publish to Modrinth
if: ${{ success() && github.repository == 'GeyserMC/Geyser' && github.ref_name == 'master' }}
env:
CHANGELOG: ${{ steps.metadata.outputs.body }}
BUILD_NUMBER: ${{ steps.release-info.outputs.curentRelease }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew modrinth
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 34158f9

Please sign in to comment.