That should work this time...

This commit is contained in:
NotMyFault 2019-01-03 13:07:25 +01:00 committed by GitHub
parent c622810671
commit 227d6d9169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ ext {
git = org.ajoberstar.grgit.Grgit.open(file(".git")) git = org.ajoberstar.grgit.Grgit.open(file(".git"))
date = git.head().date.format("yy.MM.dd") date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}" revision = "-${git.head().abbreviatedId}"
index = -1958; // Offset to match CI index = -1960; // Offset to match CI
parents = git.head().parentIds; parents = git.head().parentIds;
for (; parents != null && !parents.isEmpty(); index++) { for (; parents != null && !parents.isEmpty(); index++) {
commit = git.getResolve().toCommit(parents.get(0)); commit = git.getResolve().toCommit(parents.get(0));