From 3fcd11efaa6cc67cb1d088c84ab5e0dcd0d45472 Mon Sep 17 00:00:00 2001 From: Syrent Date: Sun, 2 Jun 2024 23:57:43 +0330 Subject: [PATCH] build: remove module name from modrinth version --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0f27eb17..cae3069a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -206,7 +206,7 @@ for (module in modrinthModules) { token.set(modrinthApiKey) projectId.set("${property("modrinthProjectID")}") - versionNumber.set((if (isRelease) versionString else publishVersion) + "-${module.name.lowercase()}") + versionNumber.set((if (isRelease) versionString else publishVersion)/* + "-${module.name.lowercase()}"*/) versionType.set(System.getenv("MODRINTH_BUILD_CHANNEL") ?: "beta") uploadFile.set(project(":sayanvanish-bukkit").tasks.shadowJar.flatMap { it.archiveFile }) when (module) {