Force canonical versions for releases

This commit is contained in:
crschnick 2024-01-18 20:30:29 +00:00
parent a08d130314
commit f33db9ca49

View file

@ -52,6 +52,10 @@ project.ext {
javafxVersion = '20.0.2'
}
if (isFullRelease && rawVersion.contains("-")) {
throw new IllegalArgumentException("Releases must have canonical versions")
}
def replaceVariablesInFileAsString(String f, Map<String, String> replacements) {
def fileName = file(f).getName()
def text = file(f).text