chore: update action code

This commit is contained in:
Sekwah 2024-12-10 21:32:53 +00:00
parent 3ab3d93d0c
commit 1deb43fe40
2 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ jobs:
env:
CURSE_API: ${{ secrets.CURSE_API }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_RELEASE_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
IS_RELEASE: true
run: |

View File

@ -160,7 +160,7 @@ task curseforge {
Metadata uploadMetadata = new Metadata()
uploadMetadata.changelog = "${project.github}/blob/${ext.githubSha}/docs/changelogs/CHANGELOG.md"
uploadMetadata.changelog = "# New release build\n\n" + getReleaseChangelog()
uploadMetadata.changelogType = "markdown"
uploadMetadata.releaseType = ext.isDevBranch ? "beta" : "release"
uploadMetadata.gameVersions = supportedGameVersionIds