File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ publishMods {
6666 changelog = rootProject.file(" CHANGELOG.md" ).readText()
6767
6868 displayName = " [${mod.loader} -${mod.minecraftVersion} ] ${mod.name} (v.${mod.version} )"
69- version = " ${mod.version} +mc${mod.minecraftVersion} "
69+ version = " ${mod.version} +mc${mod.minecraftVersion} - ${mod.loader} "
7070 modLoaders.add(mod.loader)
7171
7272 val modrinthProject: String? = if (mod.hasProp(" publish.modrinth.project_id" )) mod.prop(" publish.modrinth.project_id" ) else null
@@ -81,6 +81,8 @@ publishMods {
8181 projectId = modrinthProject
8282 accessToken = modrinthToken
8383
84+ version = " ${mod.version} +mc${mod.minecraftVersion} -${mod.loader} "
85+
8486 if (mod.hasProp(" publish.modrinth.$dependType .depends" )) {
8587 val depends = mod.prop(" publish.modrinth.$dependType .depends" ).split(' ,' )
8688 requires(* depends.toTypedArray())
You can’t perform that action at this time.
0 commit comments