mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Feat: Add changelog to modrinth releases (#4770)
* Feat: Add changelog to modrinth releases * oops
This commit is contained in:
parent
2c47330509
commit
34158f9463
2 changed files with 2 additions and 1 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -106,6 +106,7 @@ jobs:
|
||||||
- name: Publish to Modrinth
|
- name: Publish to Modrinth
|
||||||
if: ${{ success() && github.repository == 'GeyserMC/Geyser' && github.ref_name == 'master' }}
|
if: ${{ success() && github.repository == 'GeyserMC/Geyser' && github.ref_name == 'master' }}
|
||||||
env:
|
env:
|
||||||
|
CHANGELOG: ${{ steps.metadata.outputs.body }}
|
||||||
BUILD_NUMBER: ${{ steps.release-info.outputs.curentRelease }}
|
BUILD_NUMBER: ${{ steps.release-info.outputs.curentRelease }}
|
||||||
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
run: ./gradlew modrinth
|
run: ./gradlew modrinth
|
||||||
|
|
|
@ -10,7 +10,7 @@ modrinth {
|
||||||
projectId.set("geyser")
|
projectId.set("geyser")
|
||||||
versionNumber.set(project.version as String + "-" + System.getenv("BUILD_NUMBER"))
|
versionNumber.set(project.version as String + "-" + System.getenv("BUILD_NUMBER"))
|
||||||
versionType.set("beta")
|
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)
|
gameVersions.add(libs.minecraft.get().version as String)
|
||||||
failSilently.set(true)
|
failSilently.set(true)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue