From 1b350c0c53b1e0c808f4adca38303ffe8280f5ca Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Tue, 26 Sep 2023 10:40:44 +1000 Subject: [PATCH] Try to fix ci --- build-logic/src/main/kotlin/extensions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/src/main/kotlin/extensions.kt b/build-logic/src/main/kotlin/extensions.kt index 69434dca5..398212697 100644 --- a/build-logic/src/main/kotlin/extensions.kt +++ b/build-logic/src/main/kotlin/extensions.kt @@ -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()