Skip to content

Commit f33db9c

Browse files
committed
Force canonical versions for releases
1 parent a08d130 commit f33db9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ project.ext {
5252
javafxVersion = '20.0.2'
5353
}
5454

55+
if (isFullRelease && rawVersion.contains("-")) {
56+
throw new IllegalArgumentException("Releases must have canonical versions")
57+
}
58+
5559
def replaceVariablesInFileAsString(String f, Map<String, String> replacements) {
5660
def fileName = file(f).getName()
5761
def text = file(f).text

0 commit comments

Comments
 (0)