mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 23:09:27 +00:00
Switched to ConfigUtils and prepared the addition of metrics
This commit is contained in:
@@ -36,7 +36,7 @@ fun Project.isSnapshot(): Boolean =
|
||||
fun Project.fullVersion(): String {
|
||||
var version = version.toString()
|
||||
if (version.endsWith("-SNAPSHOT")) {
|
||||
version += " (b${buildNumberAsString()}-${lastCommitHash()}}"
|
||||
version += " (b${buildNumberAsString()}-${lastCommitHash()})"
|
||||
}
|
||||
return version
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user