Reallow "No changelog" if not using git

This commit is contained in:
Johannes Frohnmeyer 2021-12-16 17:18:38 +00:00
parent 1f44385268
commit 325d9d5434
1 changed files with 3 additions and 3 deletions

View File

@ -100,11 +100,11 @@ if (grgit != null) {
changelogStr += "- " + commit.shortMessage + "\n"
}
}
else {
changelogStr += "No commits"
}
}
}
if (changelogStr == "") {
changelogStr = "No changelog"
}
if (!project.hasProperty("release")) {
ext.currentVer += "-" + Instant.now().getEpochSecond()
}