From 8081cbb7e3b4b06efd63fc5e364a00b3ebf269ea Mon Sep 17 00:00:00 2001 From: OmerBenGera Date: Fri, 18 Jun 2021 23:24:27 +0300 Subject: [PATCH] Removed 1.17 tag from builds --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index c51710b..5dd384f 100644 --- a/build.gradle +++ b/build.gradle @@ -80,7 +80,7 @@ jar { processResources { outputs.upToDateWhen {false} - String versionNumber = System.getenv("BUILD_NUMBER") == null ? version + "-1.17" : version + "-1.17-DEVb" + System.getenv("BUILD_NUMBER") + String versionNumber = System.getenv("BUILD_NUMBER") == null ? version : version + "-DEVb" + System.getenv("BUILD_NUMBER") eachFile { details -> if (details.name.contentEquals('plugin.yml')) { filter { String line -> @@ -94,10 +94,10 @@ shadowJar { dependsOn(jar) if(System.getenv("BUILD_NUMBER") == null){ - archiveName = rootProject.name + "-1.17.jar" + archiveName = rootProject.name + ".jar" } else{ - archiveName = rootProject.name + "-1.17-b" + System.getenv("BUILD_NUMBER") + ".jar" + archiveName = rootProject.name + "-b" + System.getenv("BUILD_NUMBER") + ".jar" } delete fileTree('./target/') {