mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-22 23:49:09 -04:00
Force canonical versions for releases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user