From 4621f8a9782780d3c468d9ccd0d2448fa39dbfa5 Mon Sep 17 00:00:00 2001 From: Patbox <39821509+Patbox@users.noreply.github.com> Date: Tue, 29 Mar 2022 19:56:28 +0200 Subject: [PATCH] Fix curseforge upload --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1660f66c8..22f551eb3 100644 --- a/build.gradle +++ b/build.gradle @@ -276,12 +276,13 @@ if (System.getenv("CURSEFORGE")) { project { id = "462672" releaseType = "release" - displayName = "[" + ((String) project.mc_version) + "] " + version changelog = System.getenv("CHANGELOG") changelogType = "markdown" addGameVersion ((String) project.mc_version) addGameVersion "Fabric" - mainArtifact(remapJar) + mainArtifact(remapJar) { + displayName = "[" + ((String) project.mc_version) + "] " + version + } afterEvaluate { uploadTask.dependsOn("remapJar")