Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-25 15:50:10 +01:00
[ci skip] Fix branch check
Dieser Commit ist enthalten in:
Ursprung
840770a350
Commit
87db6fc75a
@ -50,7 +50,7 @@ fun Project.latestCommitMessage(): String {
|
||||
fun Project.branchName(): String {
|
||||
val byteOut = ByteArrayOutputStream()
|
||||
exec {
|
||||
commandLine = listOf("git", "branch")
|
||||
commandLine = listOf("git", "symbolic-ref", "--short", "HEAD")
|
||||
standardOutput = byteOut
|
||||
}
|
||||
return byteOut.toString(Charsets.UTF_8.name()).trim()
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren