forked from StarOpenSource/Engine
Fix EngineInformation#versioningString being invalid
This commit is contained in:
parent
ae8010a271
commit
e8ec0ed530
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue