Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-17 13:30:14 +01:00
Update branch check again
Dieser Commit ist enthalten in:
Ursprung
96650decae
Commit
e73eeeb434
@ -50,7 +50,7 @@ fun Project.latestCommitMessage(): String {
|
||||
fun Project.branchName(): String {
|
||||
val byteOut = ByteArrayOutputStream()
|
||||
exec {
|
||||
commandLine = listOf("git", "symbolic-ref", "--short", "HEAD")
|
||||
commandLine = listOf("git", "rev-parse", "--abbrev-ref", "HEAD")
|
||||
standardOutput = byteOut
|
||||
}
|
||||
return byteOut.toString(Charsets.UTF_8.name()).trim()
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren