Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 00:00:28 +01:00
Try to fix ci
Dieser Commit ist enthalten in:
Ursprung
87db6fc75a
Commit
1b350c0c53
@ -50,7 +50,7 @@ fun Project.latestCommitMessage(): String {
|
|||||||
fun Project.branchName(): String {
|
fun Project.branchName(): String {
|
||||||
val byteOut = ByteArrayOutputStream()
|
val byteOut = ByteArrayOutputStream()
|
||||||
exec {
|
exec {
|
||||||
commandLine = listOf("git", "symbolic-ref", "--short", "HEAD")
|
commandLine = listOf("git", "rev-parse", "--abbrev-ref", "HEAD")
|
||||||
standardOutput = byteOut
|
standardOutput = byteOut
|
||||||
}
|
}
|
||||||
return byteOut.toString(Charsets.UTF_8.name()).trim()
|
return byteOut.toString(Charsets.UTF_8.name()).trim()
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren