From af9fa98a3482bbf9d0defed7aae6c3c7b245e196 Mon Sep 17 00:00:00 2001 From: 2No2Name <2No2Name@web.de> Date: Sat, 23 Sep 2023 23:03:39 +0200 Subject: [PATCH] Fix build jar file name --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8ff901a81..7608bfa62 100644 --- a/build.gradle +++ b/build.gradle @@ -126,8 +126,9 @@ processResources.dependsOn createMixinConfig createMixinConfig.dependsOn compileJava def getVersionMetadata() { + def build_release = System.getenv("BUILD_RELEASE") == "true" // CI builds only - if (project.hasProperty("build.release")) { + if (build_release) { return "" // no tag whatsoever }