diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java b/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java index b115a844..d17bfc37 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java @@ -34,6 +34,7 @@ import java.text.SimpleDateFormat; import java.time.ZonedDateTime; import java.util.Date; import java.util.GregorianCalendar; +import java.util.Locale; import java.util.Properties; /** @@ -379,7 +380,7 @@ public final class EngineInformation { versioningType = VersionType.valueOf(gradleParser.getString("versioningType").toUpperCase()); versioningTyperelease = gradleParser.getInteger("versioningTyperelease", true); versioningFork = gradleParser.getString("versioningFork"); - versioningString = "v" + versioningVersion + "-" + (versioningType == VersionType.RELEASE_CANDIDATE ? "releasecandidate" : versioningType.name()) + versioningTyperelease + versioningFork; + versioningString = "v" + versioningVersion + "-" + (versioningType == VersionType.RELEASE_CANDIDATE ? "releasecandidate" : versioningType.name().toLowerCase(Locale.ROOT)) + versioningTyperelease + versioningFork; dependencyJansi = gradleParser.getString("dependencyJansi"); dependencyReflections = gradleParser.getString("dependencyReflections");