Pleasing gh actions

This commit is contained in:
NotMyFault 2021-04-18 20:42:32 +02:00
parent fe1cb649c8
commit 6383ccea83
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -25,7 +25,7 @@ ext {
}
date = git.head().dateTime.format(DateTimeFormatter.ofPattern("yy.MM.dd"))
revision = "-${git.head().abbreviatedId}"
val commit: String? = Grgit.open().head().abbreviatedId
val commit: String? = git.head().abbreviatedId
buildNumber = if (project.hasProperty("buildnumber")) {
project.properties["buildnumber"] as String
} else {