From a94f1f5d4c05f1b3d969b47d5ca44914dcc60f10 Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Mon, 19 Aug 2024 20:47:58 +0200 Subject: [PATCH] Fix broken Modrinth changelogs --- build.gradle | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 0998471d..4736d06e 100644 --- a/build.gradle +++ b/build.gradle @@ -269,10 +269,7 @@ modrinth { versionType = project.release_type uploadFile = jar gameVersions = [ project.minecraft_version ] - changelog = "" - if (new File("resources/changelog/${project.version}.txt").exists()) { - changelog = provider { file("resources/changelog/${project.version}.txt").getText() } - } + changelog = provider { file("resources/changelog/${project.minecraft_version}-${project.version}.txt").getText() } dependencies { // A special DSL for creating dependencies required.project "Z9DM0LJ4" // Cyclops Core required.project "yYzdQHJI" // Integrated Dynamics