Fix issue in the release Jenkinsfile

This commit is contained in:
Christian Beikov 2024-06-14 17:26:34 +02:00
parent 149cbaffd9
commit e65cbe52bf
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ pipeline {
}
releaseVersion = Version.parseReleaseVersion( params.RELEASE_VERSION )
if ( releaseVersion.toString().startsWith( currentVersion.family + '.' ) ) {
if ( !releaseVersion.toString().startsWith( currentVersion.family + '.' ) ) {
throw new IllegalArgumentException( "RELEASE_VERSION = $releaseVersion, which is different from the family of CURRENT_VERSION = $currentVersion. Did you make a mistake?" )
}
}