Skip to content

Commit bab7942

Browse files
committed
fix: add platform name in modrinth version
1 parent 64da976 commit bab7942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/multiloader-platform.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ else if (version.toString().contains("beta")) releaseType = "beta"
4949
modrinth {
5050
token = System.getenv("MODRINTH_TOKEN")
5151
projectId = BuildConfig.MODRINTH_PROJECT_ID
52-
versionNumber = version.toString()
52+
versionNumber = "$version-${project.name}"
5353
versionType = releaseType
5454
uploadFile.set(tasks.jar)
5555
gameVersions.add(BuildConfig.MINECRAFT_VERSION)

0 commit comments

Comments
 (0)