From d2974b06a60ce96c84d672dc65c4216c694132c1 Mon Sep 17 00:00:00 2001 From: Johann Bernhardt Date: Sun, 7 Nov 2021 13:07:16 +0100 Subject: [PATCH] Jenkins version string fix --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 46f5232..b1c6ec1 100644 --- a/build.gradle +++ b/build.gradle @@ -54,6 +54,8 @@ configurations.all { System.setProperty("org.gradle.internal.http.socketTimeout", 120000 as String) } +// Fix Jenkins' Git: chmod a file should not be detected as a change and append a '.dirty' to the version +'git config core.fileMode false'.execute() // Pulls version from git tag version = minecraftVersion + "-" + gitVersion() group = modGroup