mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-08 07:41:23 +01:00
Try to fix ci
This commit is contained in:
parent
87db6fc75a
commit
1b350c0c53
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user