[ci skip] primative failsafe for mismatched version family
This commit is contained in:
@@ -132,6 +132,10 @@ fill {
|
||||
versionFamily("4.0.0")
|
||||
version(projectVersion)
|
||||
|
||||
if (versionFamily.get().split(".") != projectVersion.split(".")) {
|
||||
throw IllegalArgumentException("Version family does not match project version")
|
||||
}
|
||||
|
||||
downloads {
|
||||
register("server:default") {
|
||||
file = tasks.shadowJar.flatMap { it.archiveFile }
|
||||
|
||||
Reference in New Issue
Block a user