mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Force canonical versions for releases
This commit is contained in:
parent
a08d130314
commit
f33db9ca49
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue