Jenkins version string fix

This commit is contained in:
Johann Bernhardt committed 2021-11-07 13:07:16 +01:00
1 parent f3b43b3132
commit d2974b06a6
1 file changed
+2
+2
View File
@@ -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