Reallow "No changelog" if not using git
This commit is contained in:
parent
1f44385268
commit
325d9d5434
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue