Skip to content

Commit

Permalink
Add changelog upload for Modrinth
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsoltMolnarrr committed Sep 15, 2023
1 parent ad7519d commit 945b403
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,12 @@ if(project.hasProperty('release_type')) {
token = System.getenv("MODRINTH_API_KEY")
projectId = "wizards" // This can be the project ID or the slug. Either will work!
versionName = "${version}" // You don't need to set this manually. Will fail if Modrinth has this version already
versionNumber = "${version}-fabric" // You don't need to set this manually. Will fail if Modrinth has this version already
versionNumber = "${version}" // You don't need to set this manually. Will fail if Modrinth has this version already
versionType = release_type // This is the default -- can also be `beta` or `alpha`
uploadFile = remapJar // With Loom, this MUST be set to `remapJar` instead of `jar`!
gameVersions = ["${project.minecraft_version}"] // Must be an array, even with only one version
loaders = ["fabric"] // Must also be an array - no need to specify this if you're using Loom or ForgeGradle
changelog = changelog_last_section()
dependencies { // A special DSL for creating dependencies
// scope.type
// The scope can be `required`, `optional`, `incompatible`, or `embedded`
Expand Down

0 comments on commit 945b403

Please sign in to comment.