ci: Snapshot builds are the default

Dieser Commit ist enthalten in:
NotMyFault 2021-11-22 14:35:40 +01:00
Ursprung 705f580290
Commit 7d5659aeac
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -29,13 +29,13 @@ ext {
date = git.head().dateTime.format(DateTimeFormatter.ofPattern("yy.MM.dd"))
revision = "-${git.head().abbreviatedId}"
buildNumber = if (project.hasProperty("buildnumber")) {
project.properties["buildnumber"] as String
snapshot + "+" + project.properties["buildnumber"] as String
} else {
null.toString() //1.18 TODO: drop classifier if not used, otherwise the version is 'null'
project.properties["snapshot"] as String
}
}
version = String.format("%s-%s+%s", rootVersion, snapshot, buildNumber)
version = String.format("%s-%s", rootVersion, buildNumber)
if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit")